- Posts: 29
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Choose 1 question out of a group
- McTell
- Topic Author
- Offline
- Junior Member
Less
More
8 years 9 months ago #121344
by McTell
Choose 1 question out of a group was created by McTell
Hey all,
I've got:
50 Groups with ca. 20 quesions each. I set group randomization, and within the group quesions will also be presented.
Question is:
I want the participant to do only 50 Questions. So from each group 1 questions.
What is the best approach?
Thanks in advance!
McTell
I've got:
50 Groups with ca. 20 quesions each. I set group randomization, and within the group quesions will also be presented.
Question is:
I want the participant to do only 50 Questions. So from each group 1 questions.
What is the best approach?
Thanks in advance!
McTell
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
8 years 9 months ago - 8 years 9 months ago #121345
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Choose 1 question out of a group
You could use the relevance equation to display x out of y questions in each group
E.g. if the question names are Q1 to Q10 for Q1 the relevance equation would be:
LT 5 would mean 5 out of 10 will be displayed.
The order has to be randomized (so every question in one group has to get the same randomization group name).
Just modify the example to your needs.
E.g. if the question names are Q1 to Q10 for Q1 the relevance equation would be:
Code:
sum(Q2.relevanceStatus, Q3.relevanceStatus, Q4.relevanceStatus, Q5.relevanceStatus, Q6.relevanceStatus, Q7.relevanceStatus, Q8.relevanceStatus, Q9.relevanceStatus, Q10.relevanceStatus) LT 5
LT 5 would mean 5 out of 10 will be displayed.
The order has to be randomized (so every question in one group has to get the same randomization group name).
Just modify the example to your needs.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 8 years 9 months ago by jelo.
The following user(s) said Thank You: McTell
The topic has been locked.
- McTell
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
8 years 9 months ago - 8 years 9 months ago #121594
by McTell
Replied by McTell on topic Choose 1 question out of a group
One question; I need to set then for Q2 like:
sum(Q1.relevanceStatus, Q3.relevanceStatus, Q4.relevanceStatus, Q5.relevanceStatus, Q6.relevanceStatus, Q7.relevanceStatus, Q8.relevanceStatus, Q9.relevanceStatus, Q10.relevanceStatus) LT 5
Correct?
If so, the thing is I need to touch every of my 50 files (It will actually be that I get 200 stimuli each group...)
[UPDATE]
Okay, this breaks up my survey in a way, that the radio buttons disappear... weird... is there any solution or other approach?
sum(Q1.relevanceStatus, Q3.relevanceStatus, Q4.relevanceStatus, Q5.relevanceStatus, Q6.relevanceStatus, Q7.relevanceStatus, Q8.relevanceStatus, Q9.relevanceStatus, Q10.relevanceStatus) LT 5
Correct?
If so, the thing is I need to touch every of my 50 files (It will actually be that I get 200 stimuli each group...)
[UPDATE]
Okay, this breaks up my survey in a way, that the radio buttons disappear... weird... is there any solution or other approach?
Last edit: 8 years 9 months ago by McTell. Reason: Update
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
8 years 9 months ago #121607
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Choose 1 question out of a group
Make a little demosurvey with e.g 5 questions. and attach it here. What version of limesurvey and build are you using?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- KBagdades
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
8 years 7 months ago #123803
by KBagdades
Replied by KBagdades on topic Choose 1 question out of a group
Hey guys,
I have been trying to do something similar but I have run into a problem. While the sum() method of the relevance equation using relevanceStatus works fine for normal text questions, I can't get it to work when the questions are 5-point choice arrays (or any array for that matter).
So let's say we use this example of selecting 5 questions out of a possible 10 in the same group. If the question types are text then it works, but if they are array questions then it doesn't (a syntax error box appears on each term in the relevance equation).
Does anyone know how to tackle this?
Thanks in advance
Kyriacos
I have been trying to do something similar but I have run into a problem. While the sum() method of the relevance equation using relevanceStatus works fine for normal text questions, I can't get it to work when the questions are 5-point choice arrays (or any array for that matter).
So let's say we use this example of selecting 5 questions out of a possible 10 in the same group. If the question types are text then it works, but if they are array questions then it doesn't (a syntax error box appears on each term in the relevance equation).
Does anyone know how to tackle this?
Thanks in advance
Kyriacos
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
8 years 7 months ago #123827
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 Choose 1 question out of a group
Hmm...I tested and found the same thing. Please
file a bug report
and...
- Give as much information as possible.
- Provide step-by-step instructions how to reproduce the problem.
- Provide screenshots and/or a sample survey.
- Post the link to the bug here so we can follow the progress.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- KBagdades
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
8 years 7 months ago #123830
by KBagdades
Replied by KBagdades on topic Choose 1 question out of a group
Thanks for the reply, tpartner.
It is not something incredibly complicated, so there isn't much else I can say. In fact I was just running a dummy survey, before I made the proper one, to test if the idea works and it doesn't. I will try and file the bug report as soon as I find the time, as I assume other people might have the same issue.
Kyriacos
It is not something incredibly complicated, so there isn't much else I can say. In fact I was just running a dummy survey, before I made the proper one, to test if the idea works and it doesn't. I will try and file the bug report as soon as I find the time, as I assume other people might have the same issue.
Kyriacos
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
8 years 7 months ago #123839
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Choose 1 question out of a group
Which LS Version? 2.06+ ? With LS 2.05+ 20150620 or 20150608 it will work with Arrays.
Please upload your testsurvey.
Please upload your testsurvey.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
8 years 6 months ago #123925
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 Choose 1 question out of a group
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.