Welcome, Guest
Username: Password: Remember me

TOPIC: Random Selection

Random Selection 1 month 4 weeks ago #110601

  • AAlves
  • AAlves's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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
The administrator has disabled public write access.

Random Selection 1 month 4 weeks ago #110623

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4139
  • Thank you received: 767
  • Karma: 348
Assuming the following questions are types that array filter can be applied to...
  1. Set those questions to display the answers in random order
  2. Apply an array filter to those questions based on the first question
  3. 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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Random Selection 1 month 4 weeks ago #110631

  • AAlves
  • AAlves's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Thank you, tpartner.

I will give it a try tomorrow morning.

BR.
AAlves
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.117 seconds
Donation Image