Welcome to the LimeSurvey Community Forum

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

Confirmation to email given by user, many languages

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 9 months ago #202377 by Jmantysalo
Let's suppose I have a form asking name and email. I want to sent a confirmation mail, so I put {email} to "Send basic admin notification email to:" -field and put "Hi, {name}, thank you..." as email template. That works.

Now, if I also ask preferred language from two possible, I guess I can use something like {if(email=='en', email, '')} as basic admin notification, and {if(email!='en', '', email)} as detailed admin notification email.

But this does not scale for more languages. Is there anything I could do? Some kind of redirection trick?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202379 by tpartner
You could place the email content in an equation type question. This could be tailored for each language. Then in the basic notification template, simply reference this question.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 9 months ago #202393 by Jmantysalo
Nice and simple. Thanks!
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 9 months ago #202626 by Jmantysalo
Still a problem: it seems that the email formatting is lost, i.e. referring to "confirmationen.NAOK" does not give the HTML as shown in the question editor.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202639 by DenisChenu
confirmationen.question to have the HTML content.

Than you can use a text display question

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 9 months ago #202726 by Jmantysalo
Ah, of course. Thanks!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose