I have a problem with changing the text in the comment field of list with comments:
If I put this text in:
<span style="font-size:20px;"><span lang="de-ch" xml:lang="de-ch"><span style="font-family:Calibri, sans-serif;">Im Hinblick auf meine Geburt erwarte ich, <strong>dass mich die Hebammen einfühlsam behandeln werden.</strong></span></span></span>
<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function(){
$('#question{QID} .text-item label.control-label').text('Platz für mögliche Kommentare zu dieser Frage (optional)');
});
</script>
Then I save the script by pressing the "save" button I end up having this text: <span style="font-size:20px;"><span lang="de-ch" xml:lang="de-ch"><span style="font-family:Calibri, sans-serif;">Im Hinblick auf meine Geburt erwarte ich, <strong>dass mich die Hebammen einfühlsam behandeln werden.</strong></span></span></span> {QID} .text-item label.control-label').text('Platz für mögliche Kommentare zu dieser Frage (optional)'); });
Which is however not changing the text above the comment field. It deletes just half of my coding (namly that: <script type="text/javascript" charset="utf-8">$(document).on('ready pjax:scriptcomplete',function(){$('#question)
and adds this text after my question when I remove the source button:
{QID} .text-item label.control-label').text('Platz für mögliche Kommentare zu dieser Frage (optional)'); });
What do I do wrong! Would you have any suggestions?
Thank you!!!
filterxsshtml is ON.
(and you can not disable it)
You have to contact your administrator
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.