Welcome to the LimeSurvey Community Forum

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

"Screen Out" based on Array Response

More
3 years 4 months ago - 3 years 4 months ago #227203 by JSamarov
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Cloud
Own server or LimeSurvey hosting:  Version 5.3.8
==================
(Write here your question/remark)

Hi guys,

We're trying to get users screened out (i.e. terminate the study) unless certain responses in Array are selected.
Please see file attached. 
What we've done so far:

1. Set up an equation formula where we assign 1 or 0 based on responses given in the previous Array question. if(A2_SQ001 == "AO01" or A2_SQ001 == "AO02", 1, 0).
The logic is that: "Only continue to A3 if a user selects "Listen to Radio Daily or Weekly", otherwise screen out.
2. Lime assigns 1 and 0 to that equation accordingly.
3. We've set up a Quota which checks for 0 and 1 and if it's 0 then "screen out".

For some reason the step 3. above doesn't work. 

Please advise.
Best,
Jay
 
Last edit: 3 years 4 months ago by JSamarov.

Please Log in to join the conversation.

More
3 years 4 months ago #227204 by tpartner
I don't see an attachment.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 years 4 months ago #227206 by JSamarov
Oh sorry, please see attached.

 

File Attachment:

File Name: limesurvey...7689.lss
File Size:58.04 KB

Please Log in to join the conversation.

More
3 years 4 months ago #227235 by tpartner
The equation question has unnecessary HTML in it. Edit the question in source mode and remove all <p> elements.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: JSamarov

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose