- Posts: 11
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Quiz with random questions
- epauldc29
- Topic Author
- Offline
- New Member
Less
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
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
Attachments:
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
1 year 3 months ago #239387
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Quiz with random questions
Please, attach the lss export.
Joffm
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- epauldc29
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
1 year 3 months ago #239390
by epauldc29
Replied by epauldc29 on topic Quiz with random questions
As requested
Attachments:
Please Log in to join the conversation.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
1 year 3 months ago #239392
by jelo
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
Replied by jelo on topic Quiz with random questions
But the LSS export you provided here is not that quiz from the past, right?In the past I had set up a quiz that would display 10 random questions from a set of 20 created.
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.