unable to use javascript and progress-bar in one survey (other survey works).

More
1 month 2 weeks ago #160045 by Siem
Siem created the topic: unable to use javascript and progress-bar in one survey (other survey works).
My survey has javascript added to the source of the questions. However this is not executing.
Previously I set "Filter HTML for XSS" to "Off" in the Global settings.
Another survey also has javascript in the question-source and it works perfectly.

However in the particular survey nothing happens, even the test example doesn't do anything.
<script type="text/javascript" charset="utf-8">
   alert("Test!");
</script>

One thing that is strange and perhaps related is that in this particular survey the progress-bar is missing (even though I enabled it). I think this might be related.

Any idea what I can do to make the javascript (and progress-bar) work?

Many thanks in advance!

Please Log in to join the conversation.

More
1 month 2 weeks ago #160047 by tpartner
tpartner replied the topic: unable to use javascript and progress-bar in one survey (other survey works).
That indicates a fatal JavaScript error. Check the console for errors.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!