problem with multiple choice questions combined with exclusive option and matrix

More
4 months 3 weeks ago #171339 by Andrea01
Andrea01 created the topic: problem with multiple choice questions combined with exclusive option and matrix
Hi,

I have a problem with multiple choice questions combined with exclusive option and matrix filter.

Here it is:

1st question:
Q1: Which items do you know
Q1_1 Answer 1
Q1_2 Answer 2
Q1_3 Answer 3
Q1_DK Don't know

Exklusive Option: DK


2nd question: (only
Q2: Which items do you currently use?
Q2_1 Answer 1
Q2_2 Answer 2
Q2_3 Answer 3
Q2_DK2 Don't know

Relevanz- equation: ((Q1_DK.NAOK != "Y"))
Matrix Filter: Q1
Exklusive Option: DK2


3rd question:
Q3: Which items do you currently use?
Q3_1 Answer 1
Q3_2 Answer 2
Q3_3 Answer 3
Q3_DK3 Don't know

Relevanz- equation: ((Q1_DK.NAOK != "Y"))
Matrix exclusion Filter: Q2
Matrix Filter: Q1
Exklusive Option: DK3

Everything works fine except:
Question 3 is shown, if all answers are clicked in Question 2. But the whole Question 3 should not be shown in this case.
Question 3 should only be shown if one ore more answers in Question 2 are unclicked.
For better understanding please have a look at the sample survey.
Version 2.06lts Build 160801

Thanks for your help and best regards
Andrea
Attachments:

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago - 4 months 3 weeks ago #171353 by Joffm
Joffm replied the topic: problem with multiple choice questions combined with exclusive option and matrix
Hi, Andrea,

I should just add this conditions to the relevance equation of Q3

(Q1_DK.NAOK != "Y") and ((Q2_1!="Y") OR (Q2_2!="Y") OR (Q2_3!="Y"))

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last Edit: 4 months 3 weeks ago by Joffm.

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago #171361 by Andrea01
Andrea01 replied the topic: problem with multiple choice questions combined with exclusive option and matrix
Hi Joffm,

Thanks for your reply. However, this condition only works if in question 1 all answers are clicked. If I only click one or two answers, it doesn't work. Any idea?

Best regards,

Andrea

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago #171363 by Andrea01
Andrea01 replied the topic: problem with multiple choice questions combined with exclusive option and matrix
This is how far I came:
If I put this condition in relevance of subquestion Q3.
(sum(that.Q1)) != (sum(that.Q2)).
This works so far, it doesn't show the subquestion.

Unfortunately, this condition doesn´t work in whole question relevance.

Thanks,
Andrea

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago - 4 months 3 weeks ago #171367 by Joffm
Joffm replied the topic: problem with multiple choice questions combined with exclusive option and matrix
Hi, Andrea,



I set the relevance equation of Q3 to:
(Q1_DK.NAOK != "Y") AND ((Q1_1.NAOK=="Y" AND Q2_1.NAOK!="Y") OR (Q1_2.NAOK=="Y" AND Q2_2.NAOK!="Y") OR (Q1_3.NAOK=="Y" AND Q2_3.NAOK!="Y"))

and it works

And:
(Q1_DK.NAOK != "Y") AND (count(that.Q1.NAOK)!=count(that.Q2.NAOK))
works as well.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last Edit: 4 months 3 weeks ago by Joffm.

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago #171373 by Andrea01
Andrea01 replied the topic: problem with multiple choice questions combined with exclusive option and matrix
Thanks a lot Joffm, now it's working.

Best regards
Andrea

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!