Check out the LimeSurvey source code on GitHub!

Limited Java Script in Question (Source)

More
2 years 8 months ago #109017 by profmey
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

Please Log in to join the conversation.

More
2 years 8 months ago #109023 by Ben_V
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 => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

More
2 years 8 months ago #109024 by DenisChenu
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

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

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