Welcome to the LimeSurvey Community Forum

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

[V 3.7.2] Array question bug due to exclusive option in array filter question?

  • Pascal_RU
  • Pascal_RU's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago - 3 years 7 months ago #204730 by Pascal_RU
Hello friends,

I have a multiple choice question which is followed by an array question in which the statements of the MC question have to be judged. The MC question therefore is used as "array filter".

I want the array question to only be presented when someone clicks an option on the MC question. This indeed works. I use relevance equations for this. However, when someone clicks on the exclusive option of the MC question, either the array question remains with the prior selected items or all subquestions disappear from the array question, but the question text itself still is presented.

Is there a way to achieve that the array question is not displayed anymore, once someone, for whatever reason, clicked the exclusive option on the MC question even though they clicked on other answer option prior to this?
I'm using Limesurvey 3.7.2+180508

All the best,
Pascal
Last edit: 3 years 7 months ago by Pascal_RU.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204732 by Joffm
Hi,
I do not see any issue (tested in 3.22.13)
1. Start


2. Clicked two options


3. Changed my opinion to the exclusive option "None of these"


4. Unchecked the exclusive option


5. Checked two other options



But: Which relevance equation did you use?
Mine is
count(that.M1)>0 and M1_SQ006!="Y"
with "M1" Code of the multiple question
"SQ006" Code of the exclusive option.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Pascal_RU
The topic has been locked.
  • Pascal_RU
  • Pascal_RU's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago - 3 years 7 months ago #204734 by Pascal_RU
Hi Joffm,

Thank you for your reply. My relevance equation was

(VoorlichtUni_1.NAOK == "Y" or VoorlichtUni_2.NAOK == "Y" or [...] VoorlichtUni_21.NAOK == "Y"), so essentially at least one of the answer options must be selected.

I used your relevance equation but alas, the problem remains:

1. I select two MC subquestions. The array question now is displayed for the two subquestions. Great.
2. I select the exclusive subquestion. The two MC subquestions are de-selected. The array question also is not displayed anymore.
3. I deselect the exclusive subquestion. Now, the array question re-appears with the two subquestions in it which are (correctly) deselected in the MC question.


Attached you can find a picture which probably better shows what my issue is than I can describe.

Best,
Pascal
Attachments:
Last edit: 3 years 7 months ago by Pascal_RU.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago - 3 years 7 months ago #204740 by Joffm
1. Your version 3.7.2. is rather old. So you should update to the actual version of this branch and test.
2. Send your surey as lss export. Only the relevant questions.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 7 months ago by Joffm.
The topic has been locked.
  • Pascal_RU
  • Pascal_RU's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #204742 by Pascal_RU
Thank you for your reply! My employer will shift to a newer version next month, so then I will try again and post the results here.
It is very unlikely that this situation occurs to begin with, but you know how it is...

If you're interested in the .lss I can still upload it.

Best,
Pascal
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204746 by Joffm
Yes, please upload it.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204754 by Joffm
What you can try:
Instead of the array filter use subquestion relevance,
e.g.
VoorlichtUni_1== "Y"
VoorlichtUni_2== "Y"
...


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204792 by holch

My employer will shift to a newer version next month,


Make sure that your employer does NOT update to LS 4.x yet, but rather to the latest/current version of LS 3.x.

Otherwise you will probably encounter a bunch of new bugs.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose