[SOLVED]Send email notifications based on an answer to a question [condition]

More
1 month 2 weeks ago #158257 by dotxm
dotxm created the topic: [SOLVED]Send email notifications based on an answer to a question [condition]
The need
Send a detailed message to the survey admin, if a specific question gets a specific answer

The solution
Instead of an email address, put a condition like so:
{if(QUESTIONCODE.code=="ANSWERCODE","EMAIL","")}

The text you need to change is in orange.

Example implementation (tested on 2.67.3):
{if(RequestsContact.code=="Y","someone@somewhere.com","")}

The option is under:
'Survey properties > General settings & texts > Notification & data management > Send detailed admin notification email to:'


Having spent too much time on finding the correct way and syntax for this simple implementation, I am putting it here in a new thread.

I will put the answer in the original thread as well. It is 5 years old, so it is best to have an updated one, methinks.


All the best,
Dotan

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now