Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Please remind me of the function we use to show all accessible variables?

More
2 years 3 months ago #243697 by cheeseburger
Occasionally I would need to know which {dynamicVariablePlaceholder} was accessible to me for EM code or possibly for TWIG based code. I would include one line in a template file and then on the preview of the survey could see every possible value such as {TOKEN} or {SURVEYID}. I see pages in the manual that reference these variables but I am still trying to recall what line of code I used to display this in the page when developing. Thanks! 

Please Log in to join the conversation.

More
2 years 3 months ago #243698 by cheeseburger
I think it may be {surveyInfo} - i will search for that....

Please Log in to join the conversation.

More
2 years 3 months ago #243699 by cheeseburger
found it:
If you want to see what is availabe in aSurveyInfo, turn debug mode on in application/config.php, and copy the following line to the end of the <body> element below:
{{ dump(aSurveyInfo) }}

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose