- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Repeat group of questions
- carlesb
- Topic Author
- Offline
- New Member
Less
More
7 years 8 months ago #139367
by carlesb
Repeat group of questions was created by carlesb
Acording to a certain question, i.e. number of kids in the family
Ask for each one name, age and hobbies
Ask for each one name, age and hobbies
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10613
- Thank you received: 3691
7 years 8 months ago - 7 years 8 months ago #139376
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 Repeat group of questions
This has been asked many times in the forums. There is no "looping" in LimeSurvey.
You will first need to insert a question asking how many people. Then you add as many question groups as the maximum possible people and use conditions/relevance to show the groups depending on the answer to the "how many" question.
You will first need to insert a question asking how many people. Then you add as many question groups as the maximum possible people and use conditions/relevance to show the groups depending on the answer to the "how many" question.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 7 years 8 months ago by tpartner.
The following user(s) said Thank You: carlesb
The topic has been locked.
- carlesb
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 7 months ago #139387
by carlesb
Replied by carlesb on topic Repeat group of questions
Thanks, but then, how to use conditions/relevance to do that?
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10613
- Thank you received: 3691
7 years 7 months ago #139393
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 Repeat group of questions
Place relevance on the groups -
manual.limesurvey.org/Creating_a_questio...groups_conditionally
.
So, for example, the relevance for the first group would be "Q1 > 0", the second group "Q1 > 1" and so on.
So, for example, the relevance for the first group would be "Q1 > 0", the second group "Q1 > 1" and so on.
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.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
7 years 7 months ago #139473
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Repeat group of questions
Hi, carlesb,
there is a good example for that in one of the demo surveys.
Exactly the problem: "How many childs" -> How old is your 1. child? - "How old is your 2. child?"
These example surveys you find in the folder "docs/demosurveys"
Best regards
Joffm
there is a good example for that in one of the demo surveys.
Exactly the problem: "How many childs" -> How old is your 1. child? - "How old is your 2. child?"
These example surveys you find in the folder "docs/demosurveys"
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.