- Posts: 10109
- Thank you received: 3593
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to pick x random questions from a bucket of y
- olle2
- Topic Author
- Visitor
create two groups: one with 8 question and one with 42
hide the second group (relevance equation = 0)
then make sure all 50 questions are part of _the same_ randomization group
the questions will get random order _between_ the two groups
and since the second group is hidden, it will be like picking 8 question out of a bucket of 50
- tpartner
- Offline
- LimeSurvey Community Team
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
- jelo
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
Would save many lines of EM code from the current way to do it, right?
manual.limesurvey.org/Expression_Manager..._of_the_questions.29
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- ollehar
- Offline
- LimeSurvey GmbH Employee
- Posts: 522
- Thank you received: 108
- ollehar
- Offline
- LimeSurvey GmbH Employee
- Posts: 522
- Thank you received: 108
- aleksandr
- Offline
- New Member
- Posts: 1
- Thank you received: 0
The only problem is that I want to generate a printable forms and "relevance equation = 0" is being ignored for it.
Is is possible to make this work for printing forms by modifying template files?
- GlaucoRoschel
- Offline
- New Member
- Posts: 1
- Thank you received: 0
I've tried to follow these instructions but for me doesn't work well. I will explain.
I created 2 groups just a test.
1. Group as:
Title: GRAMMAR (43)
Description: You will have 3 questions to answer.
Relevance: 1
Randomization group: GRAMMAR
This group I created 3 questions.
2. Group as:
Title: GRAMMAR (50)
Description: You will have 3 questions to answer.
Relevance: O
Randomization group: GRAMMAR
This group I created 4 questions.
So, when I make a test, always appears the same 3 questions regarding the Group 1 and never regarding from the Group 2. I already tried to fill up the information using different user but doesn't work. Please, can you help me?
- ollehar
- Offline
- LimeSurvey GmbH Employee
- Posts: 522
- Thank you received: 108
Feel free to attach your survey so other people can inspect it.
- ollehar
- Offline
- LimeSurvey GmbH Employee
- Posts: 522
- Thank you received: 108
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11658
- Thank you received: 2742
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- ferdeng
- Offline
- New Member
- Posts: 14
- Thank you received: 0
I have the same problem, actually. Tried every combination, but the only thing that happens is that the question of the relevance=1 group show up randomly (or not). Not the other questions. Could someone upload an example how this works? That would be very cool! Thank you in advance.GlaucoRoschel wrote: Hi Olle2,
I've tried to follow these instructions but for me doesn't work well. I will explain.
I created 2 groups just a test.
1. Group as:
Title: GRAMMAR (43)
Description: You will have 3 questions to answer.
Relevance: 1
Randomization group: GRAMMAR
This group I created 3 questions.
2. Group as:
Title: GRAMMAR (50)
Description: You will have 3 questions to answer.
Relevance: O
Randomization group: GRAMMAR
This group I created 4 questions.
So, when I make a test, always appears the same 3 questions regarding the Group 1 and never regarding from the Group 2. I already tried to fill up the information using different user but doesn't work. Please, can you help me?
- tpartner
- Offline
- LimeSurvey Community Team
- Posts: 10109
- Thank you received: 3593
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.