Direct Feedback to survey participants

More
6 months 1 day ago #179429 by tiflis
Hey guys!

I've created a (not yet activated) survey that mostly contains multi-choice design questions. I have been instructed to include a short sentence such as "You have answered this incorrectly (or correctly)" for every possible answer. These short `feedback phrases` should be visible to the survey participant after completing the survey. In addition, it should also be displayed at the end of the survey, which answers are correct (per question), and which are wrong. There should also be an explanatory text per question. The whole thing should look something like this:

Example question xyz

correct is
... abc "You chose this answer incorrectly."
... abc "You have chosen the correct answer."

wrong is
... xyz "You chose this answer incorrectly."

explanation
... xyz


How can this be done in LimeSurvey?
(Please note that I have never had to program before, I'm currently getting into javascript and trying to learn the basics).

I am using:

Windows 7 Professional (and Windows 10 Home)
Mozilla Firefox Quantum 64.0.2
LimeSurvey Version 3.15.5+181115

Thank you in advance!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
6 months 1 day ago #179432 by DenisChenu
The solution is usage of manual.limesurvey.org/Expression_Manager

It take time, but no need to know javascript (is more near than Calc Formula)

Quick sample, if in question Q01, the good answer (for a multiple) is SQ1 and SQ3 (and not SQ2 and SQ4)
... abc {if(Q01_SQ1.NAOK == "Y" and Q01_SQ2.NAOK == "" and Q01_SQ3.NAOK == "Y" and Q01_SQ4.NAOK == ""),"You have chosen the correct answer.","You chose this answer incorrectly.")}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: LouisGac, tiflis

Please Log in or Create an account to join the conversation.

More
6 months 1 day ago #179433 by tpartner
A note on Expression Manager IF() statements (which confuse many people)...

The syntax is:

if(condition, 'Returned if true', 'Returned if false')

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
The following user(s) said Thank You: DenisChenu, tiflis

Please Log in or Create an account to join the conversation.

More
6 months 20 hours ago #179439 by tiflis
I will try to implement those and change them to how i want it, thanksalot to both of you!

Please Log in or Create an account to join the conversation.

More
5 months 4 weeks ago #179507 by tiflis
Hi!

I tried that syntax and it doesn´t seem to work, is the last bracket (before the curly bracket) unnecessary ?

Please Log in or Create an account to join the conversation.

More
5 months 4 weeks ago #179510 by DenisChenu
Yes right,

Made an typo
... abc {if(Q01_SQ1.NAOK == "Y" and Q01_SQ2.NAOK == "" and Q01_SQ3.NAOK == "Y" and Q01_SQ4.NAOK == "","You have chosen the correct answer.","You chose this answer incorrectly.")}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: tiflis

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!