Welcome, Guest
Username: Password: Remember me

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

How to insert fields from survey and assesment results into notification e-mail? 1 year 2 months ago #92374

  • ekoslav
  • ekoslav's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 8
  • Karma: 0
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?
The administrator has disabled public write access.

Re: How to insert fields from survey and assesment results into notification e-mail? 1 year 2 months ago #92375

  • ekoslav
  • ekoslav's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 8
  • Karma: 0
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?
The administrator has disabled public write access.

Re: How to insert fields from survey and assesment results into notification e-mail? 1 year 2 months ago #92377

  • ekoslav
  • ekoslav's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 8
  • Karma: 0
:) 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?
The administrator has disabled public write access.

Re: How to insert fields from survey and assesment results into notification e-mail? 1 year 2 months ago #92378

  • ekoslav
  • ekoslav's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 8
  • Karma: 0
Note: {sum(Q1.value)} is for numeric value, for text just use {Q1.value}

Still no answer on timing...
The administrator has disabled public write access.

Re: How to insert fields from survey and assesment results into notification e-mail? 1 year 2 months ago #92673

  • ekoslav
  • ekoslav's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 8
  • Karma: 0
Bump...

Is it possible to create {custom} items from the database and how?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.094 seconds
Donation Image