Welcome, Guest
Username: Password: Remember me

TOPIC: Dynamic confirmation email

Dynamic confirmation email 1 year 8 months ago #88680

  • Civette
  • Civette's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
Hi,

m running Version 2.00+ Build 121117 and I had a littlie question.

I noticed it was possible to insert user answers within the confirmation email users do receive after the survey. It is even pretty simple.

I wondered myself if it was possible to have that confirmation message different according answers.

Somtething like if answer A = "blah" then message = "some text" else message = "other text"

I had a try with javascript but, dumb I am, code needs a browser to be triggered. Of course a mail client cannot do this. On the other hand I see the script in the mail code source : Useless.

Thank you in advance
The administrator has disabled public write access.

Re: Dynamic confirmation email 1 year 8 months ago #88684

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
You can use the Expression Manager and the related syntax to created dynamic emailn texts based on the user's answers.

So if there is a gender question with code "q11", you can have a dynamic greeting by using:

{if(q11 == "F", "Dear Madame",if(q11 == "M", "Dear Sir", "Hello participant"))}

So depending on the users answer, it will show a female or male or otherwise neutral greeting message.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Dynamic confirmation email 1 year 8 months ago #88714

  • Civette
  • Civette's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
Seems to work. I'll continue my tests.

Thx,
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.113 seconds
Donation Image