Welcome to the LimeSurvey Community Forum

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

confirmation email

More
11 years 3 months ago #90491 by heso
confirmation email was created by heso
Hi!
is it possible to include some answers from the questionarie in the confirmation mail?
example
I have 5 questions with sub questions

In the Confirmation mail i want to include the answers from the first question in each group and also the question it self.

So in the mail it is like this:
Dear XXX,

this email is to confirm that you have completed the survey titled XXX and your response has been saved.

The saved answers is:
Question 1
Yes
Question 2
Yes
Question 3
yes
Question 4
No
Question 5
Yes

If this answers is not correct please contact us and we can chenge it for you

Thank you for participating.

If you have any further questions about this email, please contact user on your-email@example.net.

Sincerely,

user



Anybody now if this is possible and if so how to do it

Regards Tony
The topic has been locked.
More
11 years 3 months ago #90494 by heso
Replied by heso on topic confirmation email
Hi I have done this now.
Dear {FIRSTNAME},

this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved.

Your answers is:
Question 1
{INSERTANS:51598X193X1285}

Question 2
{INSERTANS:51598X194X1287}

Question 3
{INSERTANS:51598X195X1296}

Question 4
{INSERTANS:51598X196X1297}

Question 5
{INSERTANS:51598X197X1303}

Thank you for participating.

If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.

Sincerely,

{ADMINNAME}

So the next question is:
Is it possible to have If statement in the confirmation mail so for example
Only the questions with answer Yes is shown and not the questions with no ?

Regards Tony
The topic has been locked.
More
11 years 2 months ago #90522 by heso
Replied by heso on topic confirmation email
120 have read this and nobody can answer if it is possible to use IF statement in the confirmation mail?

So i hope someone can tell me if it is possible or not :-)
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 2 months ago #90529 by Mazi
Replied by Mazi on topic confirmation email
Maybe 119 people are able to read the manual ;-)

IF statements are supported since Limesurvey 1.92 when using valid question codes and Expression Manager syntax.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
11 years 2 months ago #90537 by heso
Replied by heso on topic confirmation email
Hi Mazi!
I have read it but dont find how to implement that in the mail if i write the if statement it shows only the coding not the answers :-)

example
{if(q11 == "Y", "Question 1, Yes",if(q11 == "N", ""))}
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose