Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Bringing forward responses from a previous question

  • macdoki
  • macdoki's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 7 months ago #124377 by macdoki
I have a question where I ask my participants if they receive assistance with specific activities which is a multiple choice question. If they check more than 1 option the next variable asks which activity they received the "MOST" assistance with. So I have two questions:

1) How would I say: ask IF the previous question has more than 1 response checked?
2) How do I bring forward ONLY the variables checked off in the previous question?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #124378 by holch
2) This is easy. Have a look at the array filter.
1) This shouldn't be too complicate either, but will require a little bit of work with expression manager I think. You would need to check how many responses were ticked and I am not quite sure if there is an easy way to do this with expression manager. Hopefully one of the EM experts will show up and find a solution for you.

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
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #124416 by tpartner
1) Use something like this as the relevance equation for Q2:

Code:
count(that.Q1) > 1

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose