How to insert fields from survey and assesment results into notification e-mail?

More
4 years 6 months ago #92374 by ekoslav
ekoslav created the topic: How to insert fields from survey and assesment results into notification e-mail?
Hello,

I need to compile an e-mail that will look something like this:
Hello,
A new response was submitted for your survey '{SURVEYNAME}'.

Click the following link to reload the survey:
{RELOADURL}

Demographic:

Question 1: {answerQ1}
Question 2: {answerQ2}
Question 3: {answerQ3}
Question 4: {answerQ4}

assessment results:

Question group 1 score: {group1:perc}
Question group 2 score: {group2:perc}

Total score: {TOTAL}

Is it possible, and where descriptions for avaliable {options} can be found?

Please Log in to join the conversation.

More
4 years 6 months ago #92375 by ekoslav
ekoslav replied the topic: How to insert fields from survey and assesment results into notification e-mail?
Ok, I could not find the answer myself until I've posted the question.

So to answer a part of my question, there is some explanation here:
docs.limesurvey.org/Expression+Manager#Access_to_Variables

so answer from the question can be put into e-mail with:

{Q1:shown}

Where Q1 is question code.



Now, how about assessment results?

Please Log in to join the conversation.

More
4 years 6 months ago #92377 by ekoslav
ekoslav replied the topic: How to insert fields from survey and assesment results into notification e-mail?
:) OK, I found that too.

Here it goes:

Question 1 assessment score : {sum(Q1.value)}

Question 2 assessment score : {sum(Q2.value)}

Total Score Q1+Q2 :{sum(Q1.value+Q2.value)}


Now, what about the time to complete the survey?

Please Log in to join the conversation.

More
4 years 6 months ago #92378 by ekoslav
ekoslav replied the topic: How to insert fields from survey and assesment results into notification e-mail?
Note: {sum(Q1.value)} is for numeric value, for text just use {Q1.value}

Still no answer on timing...

Please Log in to join the conversation.

More
4 years 6 months ago #92673 by ekoslav
ekoslav replied the topic: How to insert fields from survey and assesment results into notification e-mail?
Bump...

Is it possible to create {custom} items from the database and how?

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now