Check out the LimeSurvey source code on GitHub!

Adding multiple javascripts to one page....

More
5 years 4 months ago #65276 by COMPGURL
I have 3 date questions one page.
Each question has a java script added that computes age and displays a corresponding alert to the user.

When I test each question individually, they work fine. However, when the survey is being used, none of the scripts work.

Is there a way to use multiple java scripts on the same page in Lime Survey?

Please Log in to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #65301 by tpartner
Sure, you can run as many scripts as you like.

You are probably getting conflicting variables. Can you activate a sample survey or attach an exported group with the JavaScript included?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 5 years 4 months ago by tpartner.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form