Welcome to the LimeSurvey Community Forum

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

Insert a row as answer options in choice task table for Multiple Choice question

  • xueting
  • xueting's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 6 months ago #216817 by xueting
Thanks Joffm for your prompt reply. It works! Really appreciate your help!
Best wishes, Xueting
The topic has been locked.
  • xueting
  • xueting's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 6 months ago - 3 years 6 months ago #216946 by xueting
Good afternoon Joffm,A new question is can I make a new question where the options are the chosen answers in the multiple choice task above?For instance, as the following picture shows, option 2, 3, and 4 were chosen in the multiple choice task, then I will be faced with a question asking me to make a choice between option 2, 3, 4 and nothing.
 
Many thanks!Xueting
Last edit: 3 years 6 months ago by xueting.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 6 months ago - 3 years 6 months ago #216947 by Joffm
Hi,
it's the usual way, that is described here many times.
Between your "choice" question and this new "single" question insert a (hidden) "multiple" question (MHidden) with the seven options as subquestions.
And also a (hidden) question of type "equation" where you preset the subquestions in the "multiple" question according to the selections in the "choice" question.
{MHidden_1=if(M2_SQ001_SQ001==1,"Y","")}
{MHidden_2=if(M2_SQ001_SQ002==1,"Y","")}
{MHidden_3=if(M2_SQ001_SQ003==1,"Y","")}
{MHidden_4=if(M2_SQ001_SQ004==1,"Y","")}
{MHidden_5=if(M2_SQ001_SQ005==1,"Y","")}
{MHidden_6=if(M2_SQ001_SQ006==1,"Y","")}
{MHidden_7=if(M2_SQ001_SQ007==1,"Y","")}


You see, I coded the subquestions "1", "2", ...
And exactly these codes you have to use in the "single" question

Now you use "MHidden" as array filter for your "single" question.

Of course you will not display this "single" question if there was only one option selected.





 

File Attachment:

File Name: limesurvey... (1).lss
File Size:37 KB


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 6 months ago by Joffm.
The topic has been locked.
  • xueting
  • xueting's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 6 months ago #217015 by xueting
Thank you Joffm for your patience! It works. I failed to find a relevant answer maybe because of the incorrect keywords I used.
All in all, as a beginner, I feel so lucky to receive your prompt and detailed answers those days, you are a real life-saver! Thanks again for sharing your priceless knowledge, which has helped so many people.
Have a nice day:)
Xueting
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose