Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: LimeSurvey syntax

LimeSurvey syntax 5 years 3 months ago #61188

  • madopr
  • madopr's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
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.)
The administrator has disabled public write access.

LimeSurvey syntax 5 years 3 months ago #61192

  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 6204
  • Thank you received: 1374
  • Karma: 538
{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 administrator has disabled public write access.
The following user(s) said Thank You: madopr

LimeSurvey syntax 5 years 2 months ago #61350

  • madopr
  • madopr's Avatar
  • Offline
  • Junior Lime
  • Posts: 26
  • Karma: 0
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?
The administrator has disabled public write access.

LimeSurvey syntax 5 years 2 months ago #61367

  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 6204
  • Thank you received: 1374
  • Karma: 538
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 administrator has disabled public write access.
The following user(s) said Thank You: madopr
Moderators: ITEd
Time to create page: 0.252 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form