The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Placeholder variables

Placeholder variables 2 years 2 weeks 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 2 years 2 weeks 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 2 years 1 week ago #60683

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2870
  • Thank you received: 429
  • Karma: 246
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

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 2 years 1 week 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.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.180 seconds
Donation Image