Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)Hello dear forum,
I am creating a survey where I show a list of coffee shops in a multiple choice question with 8 options.
What I'm trying to do is take 2 random brands from this list if more than 1 brand was selected, that is:
If you select only 1 option, I only ask one question for that selected option.
If you select 2 options, I will ask my next two questions, for those two selected options.
But if you select more than 2 options, for example:
1
3
4
5
7
8
I must take 2 random marks from those 8 options.
What I did is a mark calculation with the equation
join(if(P0401_1 == "Y", "A", ""), if(P0401_2 == "Y", "B", ""), if(P0401_3 == "Y", "C", " "), if(P0401_4 == "Y", "D", ""), if(P0401_5 == "Y", "E", ""), if(P0401_6 == "Y", "F", ""), if(P0401_7 == "Y", "G", ""), if(P0401_8 == "Y", "H", ""))
And then take a random one that works well, but I've gotten stuck trying to figure out how to do it with 2 random ones.
I hope I have been clear, my English is not very good.
My Version 5.6.42+231024
PS: How can I attach an LSS survey so they can see the survey?
Thanks everyone for your help.