- Posts: 348
- Thank you received: 41
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
- Topic Author
- Offline
- Platinum Member
Less
More
3 years 9 months ago #202377
by Jmantysalo
Confirmation to email given by user, many languages was created 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?
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
3 years 9 months ago #202379
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Confirmation to email given by user, many languages
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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
3 years 9 months ago #202393
by Jmantysalo
Replied by Jmantysalo on topic Confirmation to email given by user, many languages
Nice and simple. Thanks!
The topic has been locked.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
3 years 9 months ago #202626
by Jmantysalo
Replied by Jmantysalo on topic Confirmation to email given by user, many languages
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
3 years 9 months ago #202639
by DenisChenu
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.
Replied by DenisChenu on topic Confirmation to email given by user, many languages
confirmationen.question to have the HTML content.
Than you can use a text display question
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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
3 years 9 months ago #202726
by Jmantysalo
Replied by Jmantysalo on topic Confirmation to email given by user, many languages
Ah, of course. Thanks!
The topic has been locked.