Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Giving Feedback(insight) after a question being answered

  • Checking1
  • Checking1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 day ago - 2 years 1 day ago #233648 by Checking1
Limesurvey version : 3.17.0
I'm kind of new to limesurvey and was wondering if i could get the survey to give to the user a feedback after answering the question 
for example, i have a single choice option with list (radio) and the user chooses a wrong answer, i'd like to make him see the correct answer with a small paragraph of explanation 
I don't want him to be able to change his answer as i want him just to understand why he was wrong. 
is it possible ? if so, could be awesome if there is a tutorial
P.S i've checked for EM in the theme css/js and couldn't find it (em_validation_q), so if im missing something out i would love that it will be pointed out 
Thanks ! 
Last edit: 2 years 1 day ago by Checking1.

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 23 hours ago #233649 by tammo
I made a quiz with feedback. You can see it here:

www.respondage.nl/quiz-or-assessment/


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

  • Checking1
  • Checking1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 23 hours ago #233651 by Checking1
yes that is what im looking for, how did you do it?
i see the download but it wont let me download it...
if you could send me a tutorial of how to do it i'd really apricate it

Please Log in to join the conversation.

More
2 years 22 hours ago #233656 by jelo

i see the download but it wont let me download it...
 
The download link is working fine for me.
rosling_quiz.lss

There is no tutorial for that quiz.
You will need to import the survey file and learn the inner workings.
The manual for LimeSurvey is here
www.limesurvey.org/manual/LimeSurvey_Manual

And ExpressionScript (formerly known as ExpressionManager EM) is used in the survey, not in the theme.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • Checking1
  • Checking1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 22 hours ago - 2 years 22 hours ago #233657 by Checking1
thanks for the rapid response, i got it to download but i keep on getting error 500 "Selected Surveys language not found "
tried to change it to my language (he) but it still wont work
any thoughts of how to handle it?
Also, i noticed my DB version is 356 vs his version which is 365, could it be the reason ? 
Last edit: 2 years 22 hours ago by Checking1.

Please Log in to join the conversation.

More
2 years 21 hours ago #233658 by jelo
I have checked the LSS file and wasn't able to import it in LS5 and LS3.
The error message was "This is not a valid LimeSurvey survey structure XML file.".
The downloaded file has some lines added from the CMS/webserver that destroy the structure. Tammo needs to check the CMS for missing templates.

I attached a fixed version here.

But you might consider an update to 3.28.37.
Your version 3.17 is from April 2019. You might run into a few more issues.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: Checking1

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 21 hours ago #233660 by tammo
That is strange, I will have to look into that.

Attached is a fresh export,

There is no tutorial (yet). If I would go on with it, I would further develop this in Version 5.


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Attachments:

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 21 hours ago #233664 by tammo
I updates the online .lss file. It should work now...


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: Checking1

Please Log in to join the conversation.

  • Checking1
  • Checking1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 20 hours ago #233666 by Checking1
thank you, it works perfect now and i understand how to do the assessment now
much appreciated !

Please Log in to join the conversation.

  • Checking1
  • Checking1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #233815 by Checking1
I have 1 question if possible, how do you make a multi answers question with it?
I mean the conditioning, i understand that the IF statement is for single choice, but i want to make it possible for multi choice, if the user will have to pick 2 or 3 answers out of 7 for example
Thanks in advance !

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #233816 by Joffm
Hi,
unfortunately you did not provide your survey wirh rhis question.

So generally:
You know that in a "multiple" question a selected subquestion is stored as "Y", otherwise ""

1. if a respondent has to select ALL three subquestion 1,4,and 6, it is
Q1_SQ001=="Y" AND Q1_SQ004=="Y" AND Q1_SQ006=="Y"
2. if a respondent may select at least one of them, but NO of the other subquestions
(Q1_SQ001=="Y" OR Q1_SQ004=="Y" OR Q1_SQ006=="Y") AND (Q1_SQ002!="Y" AND Q1_SQ003!="Y" AND Q1_SQ005!="Y")

And if you code it better (correct subquestions "C001", "C002",..., incorrect ("I001", "I002", ... or whatever, you may shorten to
count(that.Q1.sq_C)==3 and count(that.Q1.sq_I)==0

So let's take this last example.
You may display
{if(count(that.Q1.sq_C)==3 and count(that.Q1.sq_I)==0,"This was a correctanswer","Sorry, the answer was not correct")}

Everything depends on your rule "What is a correct answer".
Therefore show us what you wabt to achieve.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Checking1

Please Log in to join the conversation.

  • Checking1
  • Checking1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #233886 by Checking1
Hi Joffm,
thanks for your reply!

Generally im trying to make insight for the user, after he answers the question they will appear with the question itself, the answer he chose and the correct answer if he was wrong
thanks to tammo and jelo i was able to do that with a single choice type of question.
Now im trying to do the same thing with Multi choice type of question and im having error "undefined variable" lss attached  

File Attachment:

File Name: Survey.lss
File Size:35 KB


What am i missing? i double checked the entire logic file and it doesnt add up, unless there is a different command for multi question type which i am missing
Any ideas?
Thanks!

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose