Welcome to the LimeSurvey Community Forum

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

Use count condition directed at a question with array filter

  • tixeon
  • tixeon's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 7 months ago - 1 year 7 months ago #231795 by tixeon
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.3.31
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template: Fruity
==================

Is it somehow possible to use the count equation as a condition where the multiple choice question being counted has an array filter?
Eg:
Q1 - Multiple choice
Q2 - Multiple choice with array filter based on Q1 answers
Q3 - Has display condition:  count(that.Q2)>3

Currently this does not work - Q3 is never displayed. If I test removing the array filter at Q2 then Q3 is displayed.
I have also tested this using subquestion relevance equations at Q2 instead of an array filter - that does not work either.

If the above is not possible, please advise a possible workaround.
Example survey attached.
Last edit: 1 year 7 months ago by tixeon. Reason: solved

Please Log in to join the conversation.

  • tixeon
  • tixeon's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 7 months ago - 1 year 7 months ago #231796 by tixeon
Please close this request as I have solved the problem, it was a simple error - the equation should be:

count(that.Q2.NAOK)>3
Last edit: 1 year 7 months ago by tixeon. Reason: solved

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose