- Posts: 11
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
3 years 7 months ago - 3 years 7 months ago #204730
by Pascal_RU
[V 3.7.2] Array question bug due to exclusive option in array filter question? was created 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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12923
- Thank you received: 3977
3 years 7 months ago #204732
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic [V 3.7.2] Array question bug due to exclusive option in array filter question?
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
3 years 7 months ago - 3 years 7 months ago #204734
by Pascal_RU
Replied by Pascal_RU on topic [V 3.7.2] Array question bug due to exclusive option in array filter question?
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12923
- Thank you received: 3977
3 years 7 months ago - 3 years 7 months ago #204740
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic [V 3.7.2] Array question bug due to exclusive option in array filter question?
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
3 years 7 months ago #204742
by Pascal_RU
Replied by Pascal_RU on topic [V 3.7.2] Array question bug due to exclusive option in array filter question?
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12923
- Thank you received: 3977
3 years 7 months ago #204746
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic [V 3.7.2] Array question bug due to exclusive option in array filter question?
Yes, please upload it.
Joffm
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12923
- Thank you received: 3977
3 years 7 months ago #204754
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic [V 3.7.2] Array question bug due to exclusive option in array filter question?
What you can try:
Instead of the array filter use subquestion relevance,
e.g.
VoorlichtUni_1== "Y"
VoorlichtUni_2== "Y"
...
Joffm
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
3 years 7 months ago #204792
by holch
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.
Replied by holch on topic [V 3.7.2] Array question bug due to exclusive option in array filter question?
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.