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
  • nsen54's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 9 months ago - 7 years 9 months ago #136607 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!
Last edit: 7 years 9 months ago by nsen54. Reason: Spelling mistake
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 9 months ago #136616 by holch
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.

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
  • nsen54's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 9 months ago #136719 by nsen54
Thank you so much! Writing Q2 as an Array with a filter worked perfectly.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose