Welcome to the LimeSurvey Community Forum

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

Quiz with random questions

  • epauldc29
  • epauldc29's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #239385 by epauldc29
Quiz with random questions was created by epauldc29
Please help us help you and fill where relevant:
Your LimeSurvey version:  5.4.15+221212
Own server or LimeSurvey hosting: Own
Survey theme/template:
==================

In the past I had set up a quiz that would display 10 random questions from a set of 20 created.  See attachment.  The quiz works with the 10 in the first group and displays them randomly, but it is not taking any questions from the second group -- thoughts?

https://ibb.co/jLXLS9j

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #239387 by Joffm
Replied by Joffm on topic Quiz with random questions
Please, attach the lss export.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • epauldc29
  • epauldc29's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #239390 by epauldc29
Replied by epauldc29 on topic Quiz with random questions
As requested

Please Log in to join the conversation.

More
1 year 3 months ago #239392 by jelo
Replied by jelo on topic Quiz with random questions

In the past I had set up a quiz that would display 10 random questions from a set of 20 created.
 
But the LSS export you provided here is not that quiz from the past, right?
I see no code to select 10 out of 20. I see a group of 10 questions which are part of a randomgroup. They will be all displayed in a random order.
Then there is a second group of 7 questions. The group is hidden (relevance 0) and the seven questions are not part of an random group.

What survey behavior are you looking for?  

Take a look at this thread, where the workaround to randomly choosing questions out of a pool was first described.
forums.limesurvey.org/forum/can-i-do-thi...s-from-a-bucket-of-y
There is an attached LSS in that thread too.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: epauldc29

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose