Hey folks,
LimeSurvey version: 3.13.1+180629
Browser: Mozilla Firefox 60.3.0esr (32-Bit)
I use a java script to switch the text style to password. It always worked until now. At first the script was completely gone, I pasted it once again, but when I saved and closed the editor parts of the script were missing and it is displayed as plain text.
This is the script:
Code:
<script type='text/javascript' charset='utf-8'>
$( document ).ready( function() {
// self.sgqa ist der Identifier für das Antwortfeld. my_targetTextBox gibt die ID jquery-konform wieder
var this_self='{self.sgqa}';
var my_targetTextBox='#answer' + this_self;
// ändert den Texttypen auf Passwort
$( my_targetTextBox ).attr( 'type', 'password' );
});
</script>
I searched through the forums, if anyone else experienced similar issues, but did not find anything related to it. Neither did I find any configurations in my survey, that might be responsible for this issue.
Screenshots are attached, showing how it looks like before and after I save the question
Any help how to enable the script once again is much appreciated!