Check out the LimeSurvey source code on GitHub!

LimeSurvey syntax

More
5 years 9 months ago #61188 by madopr
Hello. Is there any place in which I can see a complete list of the LimeSurvey syntax? (I mean: variables like {INSERTANS:XXX}, {SAVEDID}, $('#questionXXX'); functions like .val(); .hide(); .show(); etc.)

Please Log in to join the conversation.

More
5 years 9 months ago #61192 by tpartner
{INSERTANS:XXX} - docs.limesurvey.org/Adding+a+question&hi...rom_previous_answers

{SAVEDID} - docs.limesurvey.org/The+template+editor&...+LimeSurvey#Keywords

$('#questionXXX'); functions like .val(); .hide(); .show(); - These are jQuery functions, not LimeSurvey functions. jQuery is a JavaScript platform included in LimeSurvey.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: madopr

Please Log in to join the conversation.

More
5 years 8 months ago #61350 by madopr
Many thanx!! that's what I was looking for; but, about the variables: how can I know how are named each question/answer/subquestion and what functions works for each one?

Please Log in to join the conversation.

More
5 years 8 months ago #61367 by tpartner
You will need to go through the source code (mostly in quanda.php).

A tool like Firebug for Firefox may also help.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: madopr

Please Log in to join the conversation.

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