Welcome, Guest
Username: Password: Remember me

TOPIC: Adding multiple javascripts to one page....

Adding multiple javascripts to one page.... 3 years 2 weeks ago #65276

  • COMPGURL
  • COMPGURL's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
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?
The administrator has disabled public write access.

Re: Adding multiple javascripts to one page.... 3 years 2 weeks ago #65301

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4191
  • Thank you received: 787
  • Karma: 359
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 3 years 2 weeks ago by tpartner.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.110 seconds
Donation Image