counted answers

More
8 months 3 weeks ago #165858 by RitaShen
RitaShen created the topic: counted answers
Hi, there, I have a question about the question design issue, I don't know how it can work on LimeSurvey.

the Question is:

Q1a. How many statements are true in your case?
□None
□One item
□Two items
□Three items
□Four items


Q1b.
How many statements are not true in your case?
□None
□One item
□Two items
□Three items
□Four items



If the respondents in Q1a answer None(0) and Q1b answer Two items(2), 0+2 is not equal to 4.
so it seems that the respondents miscounted, those people who miscounted will answer to the Q2.
if the respondetnts in Q1a answer One item(1) and Q1b answer Three items(3), 1+3 is equal to 4, so those people who answer the correct answer will go to answer the Q3.



simply put
Q1a+Q1b=4, answer the Q3.
Q1a+Q1b is not equal to 4, answer the Q2


is there anyone can help me to solve this issue?
many thanks


version:2.70.0+170921

Rita
Attachments:

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

More
8 months 3 weeks ago #165865 by Joffm
Joffm replied the topic: counted answers
Hi,
just set
relevance of Q2: sum(Q1a,Q1b)!=4
relevance of Q3: sum(Q1a,Q1b)==4




Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: RitaShen

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

More
7 months 6 days ago #168461 by RitaShen
RitaShen replied the topic: counted answers
thanks Joffm.

And now I have another question about this.

If the respondents in Q1a answer None(0) and Q1b answer Two items(2), 0+2 is not equal to 4. sum(Q1a,Q1b)!=4
the respondents are forbidden to answer the next page,
they must stay on this page until they choose the correct answer

could I do this in the limesurvey?

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

More
7 months 4 days ago #168509 by Joffm
Joffm replied the topic: counted answers
Hi, Rita,

assuming Q1 and Q2 are multiple questions and Q1_0 = None, you could set this as question validation in Q2:

((Q1_0=="Y") and (count(self)==4)) OR ((Q1_0!="Y") AND (sum(count(that.Q1),count(self))==4))

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

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

More
7 months 4 days ago - 7 months 4 days ago #168526 by Joffm
Joffm replied the topic: counted answers
Sorry, Rita,

I did not realize that it's the same scenario (two single questions)

So, validate the second question by:

sum(that.Q1,self)==4

Regards
Joffm


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

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

More
7 months 4 days ago #168531 by Joffm
Joffm replied the topic: counted answers
Again sorry,

It was just a very - too - quick response.

Of course you have no validation in single punch questions.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

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!