Welcome to the LimeSurvey Community Forum

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

Filters Not Working

  • maranda.nelson
  • maranda.nelson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 6 days ago #269762 by maranda.nelson
Filters Not Working was created by maranda.nelson
Please help us help you and fill where relevant:
LimeSurvey version: [ LimeSurvey Community Edition  Version 6.10.3+250203]
Own server or LimeSurvey Cloud:
Survey theme/template:
==================
Im experiencing a difficulty in filtering answers from a multiple question to a multiple question. I get all answers instead of only those selected in the previous question. See the image below.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 6 days ago #269764 by tpartner
Replied by tpartner on topic Filters Not Working
Are the sub-question codes identical in both questions?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • maranda.nelson
  • maranda.nelson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 6 days ago #269766 by maranda.nelson
Replied by maranda.nelson on topic Filters Not Working
Yes the sub-question codes are identical

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 6 days ago #269767 by tpartner
Replied by tpartner on topic Filters Not Working
Can you attach a small sample survey (.lss) containing only the relevant questions?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • maranda.nelson
  • maranda.nelson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 6 days ago #269770 by maranda.nelson
Replied by maranda.nelson on topic Filters Not Working
Here is the sample survey, main focus is on U3 and U4. The filter is on U4.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 6 days ago - 1 week 6 days ago #269771 by Joffm
Replied by Joffm on topic Filters Not Working
Hi,
please, do not use this "condition designer".
This is outdated, use ExpressenScript

And you use the array filter, but additionally subquestion relevance and question relevance.
Instead of doing this
(Q1_1.NAOK=="Y") or (Q1_2.NAOK=="Y") or ... or (Q1_995.NAOK=="Y")
better to use the "count" function
count(that.Q1)>0

Okay,  remove the "exclusive option 996". There is no code 996.

And I (we) recommend to design the survey "group by group" with only one question per group.
Then you can show - if needed or desired - two or more on one page. E.g. here: the "Other" field directly after the question.
And the general look & feel (question by question) is maintained.





I saw you have a lot of these "Others"

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 week 6 days ago by Joffm.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose