Display only one choice

More
1 month 2 weeks ago #215834 by nadumont
Hello,

I have a multiple question (Q2) that shows 5 possible movies that someone could have watched. In the next question I would like to display randomly only 1 out of the choices of this Q2. The objective is to pick one of the selected movies on which the next questions will be asked.
I know how to filter based on the choices made in Q2, I know how to display those choices in a random order but I just cannot filter such that only the first item (of the random order) is displayed.
This could obviously be a hidden question, but I need a variable that selects randomly one of the choices made in Q2.

Thanks a lot for your help!

Please Log in to join the conversation.

More
1 month 1 week ago #215893 by Joffm
Replied by Joffm on topic Display only one choice
Here a small example with only three equations.
 

File Attachment:

File Name: limesurvey...4877.lss
File Size:26 KB


   
 

 

 


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

Please Log in to join the conversation.

More
1 month 1 week ago #215918 by nadumont
Replied by nadumont on topic Display only one choice
Hi Joffm,

Thank you so much. It works great! And it is easy to do in LS for me who is not an expert in javascript :)

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now