- Posts: 10
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Create a new group based on previous choices and limit number of answers.
- mynameislime
- Topic Author
- Offline
- New Member
Less
More
9 years 3 months ago #114690
by mynameislime
Create a new group based on previous choices and limit number of answers. was created by mynameislime
Hello.
I'm trying to create a new group which consists of answers from questions in another group. But I'd like to make all the new as only one single question with all the previous answers even if they were from several questions before. Is this possible?
And as a followup, can I limit the number of possible answers in an array or checkboxes in a whole question group, i.e. all questions in a group as a total sum? I'm wondering because I have a new group built out of replies from a previous group, but I want to limit the number of answers in the next session. If I could make one single question of all previous answers - I see how I can limit the number, but if not, I need to be able to limit in a whole question group.
Not sure if I explained this correctly, I hope so.
I'm trying to create a new group which consists of answers from questions in another group. But I'd like to make all the new as only one single question with all the previous answers even if they were from several questions before. Is this possible?
And as a followup, can I limit the number of possible answers in an array or checkboxes in a whole question group, i.e. all questions in a group as a total sum? I'm wondering because I have a new group built out of replies from a previous group, but I want to limit the number of answers in the next session. If I could make one single question of all previous answers - I see how I can limit the number, but if not, I need to be able to limit in a whole question group.
Not sure if I explained this correctly, I hope so.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 3 months ago #114694
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 Create a new group based on previous choices and limit number of answers.
You can use Array Filter to only show the selected answers from several previous questions.
For example:
Q1:
- Multiple choice
- Sub-question codes (1, 2, 3, 4)
Q2:
- Multiple choice
- Sub-question codes (5, 6, 7,
Q3:
- Multiple choice
- Sub-question codes (1, 2, 3, 4, 5, 6, 7,
- Array filter (Q1;Q2)
,.
For example:
Q1:
- Multiple choice
- Sub-question codes (1, 2, 3, 4)
Q2:
- Multiple choice
- Sub-question codes (5, 6, 7,
Q3:
- Multiple choice
- Sub-question codes (1, 2, 3, 4, 5, 6, 7,
- Array filter (Q1;Q2)
,.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mynameislime
The topic has been locked.
- mynameislime
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
9 years 3 months ago #114696
by mynameislime
Replied by mynameislime on topic Create a new group based on previous choices and limit number of answers.
Wow, let me check this and get back to you. Thanks for the reply.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
9 years 3 months ago #114703
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Create a new group based on previous choices and limit number of answers.
Hey Tpartner, I didn't know that you can have the array filter over two questions! Good to know.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 3 months ago - 9 years 3 months ago #114733
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 Create a new group based on previous choices and limit number of answers.
Yep, as long as the sub-question codes are unique in Q1 and Q2, the Q3 sub-question will show if it is checked in either Q1 or Q2.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 3 months ago by tpartner.
The topic has been locked.