Welcome, Guest
Username: Password: Remember me

TOPIC: Placeholder variables

Placeholder variables 3 years 4 months ago #60597

  • triumph
  • triumph's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Placeholder variables 3 years 4 months ago #60659

  • cycas
  • cycas's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
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.)
The administrator has disabled public write access.

Re: Placeholder variables 3 years 4 months ago #60683

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4195
  • Thank you received: 789
  • Karma: 359
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Placeholder variables 3 years 4 months ago #60696

  • triumph
  • triumph's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
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.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.099 seconds
Donation Image