Welcome, Guest
Username: Password:

TOPIC: Limited Java Script in Question (Source)

Limited Java Script in Question (Source) 2 years 1 week ago #109017

  • profmey
  • profmey's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Dear ALL,

I had some problem with my work, i need inserting 1000 more line java script to my question design. When i inserted the script, All script had shown. And i saved it and close. But when i open the question again, and click source button, there just 300 more line java script.

1. Is there limit in script we write at question source?
2. How do I resolve this problem?

Thanks guys,
Best Regards,


Hilman Fauzi
The administrator has disabled public write access.

Limited Java Script in Question (Source) 2 years 1 week ago #109023

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1713
  • Thank you received: 426
  • Karma: 106
Hello
Put all your code in an external dedicated .js file...
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.

Limited Java Script in Question (Source) 2 years 1 week ago #109024

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8927
  • Thank you received: 1249
  • Karma: 371
Hi,

And the javascript must be reworked for LimeSurvey, we use { } for Expression Manager, then you need to add a space or a crlf with javascript bracket.

Denis
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.212 seconds