Welcome to the LimeSurvey Community Forum

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

Email Template

  • earleygirl59
  • earleygirl59's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #115778 by earleygirl59
Email Template was created by earleygirl59
Is it possible to add a field to the subject line of the confirmation email template? I don't think it's possible with 1.91 (an old version I've used on one site) but is it possible with the newest version of LimeSurvey? I'm trying to add the survey participant's name to the subject line like this:
Detailed admin notification subject: {SURVEYNAME} {FIELDNAME}

Thanks in advance!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 3 months ago #115782 by tpartner
Replied by tpartner on topic Email Template
You refer to the "confirmation email" and the "Detailed admin notification". Which one would you like to modify?

Where do you want to get the "survey participant's name" from? A question or a token?


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • earleygirl59
  • earleygirl59's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #115783 by earleygirl59
Replied by earleygirl59 on topic Email Template
Sorry, I'd like to modify the Detailed admin notification. I would like to pull the participant's name from a question. I did experiment, adding the database field # for that question in the subject line surrounded by brackets {} but it didn't work. Any help would be most appreciated!

tpartner wrote: You refer to the "confirmation email" and the "Detailed admin notification". Which one would you like to modify?

Where do you want to get the "survey participant's name" from? A question or a token?

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 3 months ago - 9 years 3 months ago #115784 by tpartner
Replied by tpartner on topic Email Template
You need to use the question code in the curly braces, not the question ID. Please refer to the manual - manual.limesurvey.org/Expression_Manager#Access_to_Variables

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 3 months ago by tpartner.
The topic has been locked.
  • earleygirl59
  • earleygirl59's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #115785 by earleygirl59
Replied by earleygirl59 on topic Email Template
Thanks, Tony. I'm assuming I'll need to use a more recent version as it doesn't appear to work in vs 1.91.

Thanks for pointing me in the right direction!
The topic has been locked.
More
9 years 3 months ago #115789 by cshaw
Replied by cshaw on topic Email Template
I don't have 1.91 installed, but I think I would try {INSERTANS:SGQA}, so {INSERTANS:123456X1234X123X1} for instance.
The topic has been locked.
  • earleygirl59
  • earleygirl59's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #115822 by earleygirl59
Replied by earleygirl59 on topic Email Template
Thank you ohvelma! That worked!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose