Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Send Admin Detail email only with certian respnses

Send Admin Detail email only with certian respnses 3 years 4 months ago #95306

  • wilmslow3
  • wilmslow3's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Thank you received: 1
  • Karma: 0
Hi,

I was wondering if someone can help me?

This may appear to be strange request however it makes sense to us!

Basically we only want to receive an detailed Admin email (detailed responses) when someone answers in a certain way.

i.e. Question 1 = a
Question 2 = b

We have been using the insert answers into the admin email for every answer we do not want to break the email address so that we do not get an email when someone does not answer the question correctly. This works fine.

eg: {4096XX2811XX20111}{4097XX2811XX20111}This email address is being protected from spambots. You need JavaScript enabled to view it.

What this does is break the email address so that we do not receive the email unfortunately this is no good for array questions so we are seeking an elegant solution.

So for every question that we don't want a response from we have have to build a string and this is quite tedious. We can not use quotas or routing to filter in the traditional sense, can anyone think of a good way to go about this?

We need an email to be sent when our criteria matches, and the person who fills in the survey must not get screened out, it must appear to them that they have completed the survey.

Thanks
Steve
The administrator has disabled public write access.

Send Admin Detail email only with certian respnses 3 years 4 months ago #95310

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1825
  • Thank you received: 449
  • Karma: 111
Hello,

Maybe a start to go further:

Try to import this survey and understand the settings used; It's in french but quiet easy to understand.

Basically:
1) Settings of your survey
=> field "send detailed email...": USE placeholder: {MAIL}
2) Set a radio button question with 2 answers option: A & B (as answer code)

3) create a hidden "equation" question with code: MAIL
{if("QCODE.code"=="A","monmaila@example.org",
if("QCODE.code"=="B","monmailb@example.org","")
)}

More details here, in french forum
BenoƮt

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
Last Edit: 3 years 4 months ago by Ben_V.
The administrator has disabled public write access.
The following user(s) said Thank You: wilmslow3

Send Admin Detail email only with certian respnses 3 years 4 months ago #95323

  • wilmslow3
  • wilmslow3's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Thank you received: 1
  • Karma: 0
Thanks that is exactly what I hoped for! Thanks very much for your help I'm sure this is the way forward!

Steve
The administrator has disabled public write access.
Time to create page: 0.186 seconds
Imprint                   Privacy policy                  Revocation information and revocation form