- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Same question to display multiple times based on answers to above question
- nsen54
- Topic Author
- Offline
- New Member
Less
More
7 years 9 months ago - 7 years 9 months ago #136607
by nsen54
Same question to display multiple times based on answers to above question was created by nsen54
Hi! I was wondering how/whether it was possible to do the following on LimeSurvey. I want to same question to be displayed potentially multiple times based on the answer to a question above. For example:
Q1. Which of these fruits do you eat? (Checkboxes, multiple answers can be selected)
-Apples
-Bananas
-Oranges
-None
Then, based on what answers are selected, I want the following question to appear for each selected option
Q2. How many times a week do you eat [selected answer]?
So for example, if apples and oranges was selected, Q2 would show up twice as
Q2. How many times a week do you eat apples?
and
Q2. How many times a week do you eat oranges?
Is it possible to do this with one q2 that can appear and populate based on selected answers, or do I have to create a q2 for each potential answer choice?
Thank you!
Q1. Which of these fruits do you eat? (Checkboxes, multiple answers can be selected)
-Apples
-Bananas
-Oranges
-None
Then, based on what answers are selected, I want the following question to appear for each selected option
Q2. How many times a week do you eat [selected answer]?
So for example, if apples and oranges was selected, Q2 would show up twice as
Q2. How many times a week do you eat apples?
and
Q2. How many times a week do you eat oranges?
Is it possible to do this with one q2 that can appear and populate based on selected answers, or do I have to create a q2 for each potential answer choice?
Thank you!
Last edit: 7 years 9 months ago by nsen54. Reason: Spelling mistake
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 9 months ago #136616
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 Same question to display multiple times based on answers to above question
You will need to create one question for each answer option from Q1 if you want to display it the way you describe.
However, you could also create Q2 as a Array (numbers) with the exact same answer options and an array filter in place.
However, you could also create Q2 as a Array (numbers) with the exact same answer options and an array filter in place.
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.
- nsen54
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
7 years 9 months ago #136719
by nsen54
Replied by nsen54 on topic Same question to display multiple times based on answers to above question
Thank you so much! Writing Q2 as an Array with a filter worked perfectly.
The topic has been locked.