- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Random Selection
- AAlves
- Topic Author
- Offline
- New Member
Less
More
9 years 8 months ago #110601
by AAlves
Random Selection was created by AAlves
Hi everyone,
I've a challenge for two days ago without solution, and i would like to know if someone here has the key for it.
I've a multiple choice question with 7 arguments:
Argument 1
Argument 2
Argument 3
Argument 4
Argument 5
Argument 6
Argument 7
I tick 5 of them:
Argument 1
Argument 3
Argument 4
Argument 5
Argument 6
I want to do a few more questions regarding 3 of these arguments.
And i want Lime to random select them.
How can i do this?
Thanks in advance,
Américo
I've a challenge for two days ago without solution, and i would like to know if someone here has the key for it.
I've a multiple choice question with 7 arguments:
Argument 1
Argument 2
Argument 3
Argument 4
Argument 5
Argument 6
Argument 7
I tick 5 of them:
Argument 1
Argument 3
Argument 4
Argument 5
Argument 6
I want to do a few more questions regarding 3 of these arguments.
And i want Lime to random select them.
How can i do this?
Thanks in advance,
Américo
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 8 months ago #110623
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Random Selection
Assuming the following questions are types that
array filter
can be applied to...
Details of the JavaScript would depend on the question types.
.
- Set those questions to display the answers in random order
- Apply an array filter to those questions based on the first question
- Use JavaScript to hide all but the first 3 rows of those questions
Details of the JavaScript would depend on the question types.
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- AAlves
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 8 months ago #110631
by AAlves
Replied by AAlves on topic Random Selection
Thank you, tpartner.
I will give it a try tomorrow morning.
BR.
AAlves
I will give it a try tomorrow morning.
BR.
AAlves
The topic has been locked.