Check out the LimeSurvey source code on GitHub!

Placeholder variables

More
5 years 9 months ago #60597 by triumph
I am looking for a list of placement variables i.e. {SURVEYURL} and {ANSWERTABLE} and also a way to edit the variables if there is one.

Any help greatly appreciated.

Please Log in to join the conversation.

More
5 years 9 months ago #60659 by cycas
The placeholders are created in common.php, and you can add extra ones in there

(though it might be better to do it via a template, I'm not sure how to do that, would be interested to know if that can be done.)

Please Log in to join the conversation.

More
5 years 9 months ago #60683 by tpartner
Here is a list of placeholders - docs.limesurvey.org/The+template+editor&...+LimeSurvey#Keywords

You cannot create/add placeholders in the template files. To do that, you would need to modify the core code.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 9 months ago #60696 by triumph
Tony,

Thank you very much for your reply. I wanted to include the survey taker email in the admin notification and I found the {TOKEN:EMAIL} variable from the link you gave me (No code mods).

Very cool software.

Please Log in to join the conversation.

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