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
  • mynameislime's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #114690 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.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 5 months ago #114694 by tpartner
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, 8)


Q3:
- Multiple choice
- Sub-question codes (1, 2, 3, 4, 5, 6, 7, 8)
- 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
  • mynameislime's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #114696 by mynameislime
Wow, let me check this and get back to you. Thanks for the reply.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 5 months ago #114703 by holch
Hey Tpartner, I didn't know that you can have the array filter over two questions! Good to know.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 5 months ago - 10 years 5 months ago #114733 by tpartner
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: 10 years 5 months ago by tpartner.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose