Page 1 of 1

skipping in multiresponse

Posted: May 31st, 2017, 2:52 am
by Socio
Good morning all, I have a multi-response question (prepared in checked box).
How do I skip if A OR B OR C in Q1 to Q5.
I have given the multiresponse value set in alphabet (A,B,C,D,E,F,G,H).
Also if H in Q1 then answer Q2.

Q1: please tell us about your working environment within the organization where you worked?
A - Poor drinking water
B - Poor Toilet and sanitation
C - Indoor work with AC / without AC
D - Outdoor work in shade / without shade
E - Late payment/ wages
F - Non-payment / wages
G - Restrictive rules / laws/ policies
H - Others

Q2:
Q3:
Q4:
Q5 :

Thank you.

Re: skipping in multiresponse

Posted: May 31st, 2017, 5:08 pm
by savy
In your postproc of Q1 you can use poschar function to see if the A Or B Or C are chosen in Q1 and then skip to Q5
if poschar("ABC",Q1) > 0 then
    skip to Q5;
endif;

Re: skipping in multiresponse

Posted: June 7th, 2017, 4:48 am
by Socio
Thank you Savy

The problem with this is
savy wrote:if poschar("ABC",Q1) > 0 then
    skip to Q5;
endif;
If I select H (other) with any other option (ABCD) it skips to Q5.
I don't want to skip Q2 if in any response include H (other).

Thank you

Re: skipping in multiresponse

Posted: June 8th, 2017, 2:26 pm
by Gregory Martin
You can add another check to make sure H isn't selected:
if poschar("ABC",Q1) > 0 and poschar("H",Q1) = 0 then

Re: skipping in multiresponse

Posted: June 16th, 2017, 1:07 am
by Socio
Thank you very much

Gregory Martin wrote:You can add another check to make sure H isn't selected:
if poschar("ABC",Q1) > 0 and poschar("H",Q1) = 0 then