- Posts: 11658
- Thank you received: 2742
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Screenouts
- holch
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
9 years 6 months ago - 9 years 6 months ago #113082
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Screenouts was created by holch
Screenouts are coming up from time to time in the forum.
Unfortunately Limesurvey does not have a real screen out system.
For simple screenout rules the workaround with the zero quotas works quite well.
But what if the screenout needs to be based on more than one question? I was told before, that then "scenarios" should be used. But this would mean that this scenario condition would have to be applied to every subsequent question and also there would be no way to redirect to a different end url (important for panels).
Now I had the idea to use an equation question and create a rule that would write "screenout" or "continue" based on responses to various previous questions. Based on this you could again use the zero quota, but quotas do not work with equation question.
Here is a real life problem: www.limesurvey.org/en/community-services...nking-design?#113066
Unfortunately Limesurvey does not have a real screen out system.
For simple screenout rules the workaround with the zero quotas works quite well.
But what if the screenout needs to be based on more than one question? I was told before, that then "scenarios" should be used. But this would mean that this scenario condition would have to be applied to every subsequent question and also there would be no way to redirect to a different end url (important for panels).
Now I had the idea to use an equation question and create a rule that would write "screenout" or "continue" based on responses to various previous questions. Based on this you could again use the zero quota, but quotas do not work with equation question.
Here is a real life problem: www.limesurvey.org/en/community-services...nking-design?#113066
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 9 years 6 months ago by holch.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
9 years 6 months ago #113098
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Screenouts
You can
use the assignment operator in an equation type question
to control the screen-out radio question.
Of course, you will want to place the equation question after the radio.
Here's an example equation that would screen-out if gender code is "A1" and the age code is "A5".
Of course, you will want to place the equation question after the radio.
Here's an example equation that would screen-out if gender code is "A1" and the age code is "A5".
Code:
{screenout = if(gender == "A1" AND age == "A5","out","in")}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- holch
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
9 years 6 months ago #113127
by holch
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 Screenouts
This looks really great, Tony!
I was just wondering if there is any specific reason for the Javascript code in the first two questions. I don't think the code is necessary and these are leftovers, right?
I was just wondering if there is any specific reason for the Javascript code in the first two questions. I don't think the code is necessary and these are leftovers, right?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
9 years 6 months ago - 9 years 6 months ago #113129
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Screenouts
The screenout system with Equation assigment it's the only reason of this bug report :
bugs.limesurvey.org/view.php?id=7895
Denis
PS:
- This need a manual page maybe
- Reming fixed for 2.00 up to 130708, broken for 2.05 before 140717
Denis
PS:
- This need a manual page maybe
- Reming fixed for 2.00 up to 130708, broken for 2.05 before 140717
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 9 years 6 months ago by DenisChenu.
The topic has been locked.
- holch
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
9 years 6 months ago #113131
by holch
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 Screenouts
Hi Dennis!
Not sure how to read your response. But from what I understood: it is fixed and the equation assignment should work now to use it for screenouts, correct?
Not sure how to read your response. But from what I understood: it is fixed and the equation assignment should work now to use it for screenouts, correct?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
9 years 6 months ago #113132
by tpartner
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Screenouts
Yep, sorry, that's what I get for re-using test surveys.I was just wondering if there is any specific reason for the Javascript code in the first two questions. I don't think the code is necessary and these are leftovers, right?
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- holch
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
9 years 6 months ago #113133
by holch
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 Screenouts
No problem! I was just a little confused but it did not make any sense to me, so I thought it might be just a left over.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- meeko434
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
9 years 6 months ago - 9 years 6 months ago #113134
by meeko434
Replied by meeko434 on topic Screenouts
There is an error message with the link. Thanks so much! So glad holch made a forum for this topic. I used the code tpartner provided, there is no way to test out screenouts on inactive surveys correct? Just want to make sure the screen out works before I send my survey out. You all are awesome!!!
Last edit: 9 years 6 months ago by meeko434. Reason: forgot information
The topic has been locked.
- holch
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
9 years 6 months ago #113135
by holch
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 Screenouts
Which link?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- meeko434
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
9 years 6 months ago #113137
by meeko434
Replied by meeko434 on topic Screenouts
The example you posted in your first post.
The topic has been locked.
- holch
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
9 years 6 months ago #113138
by holch
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 Screenouts
Ahhh, it is actually just a link to your post about your screening needs over 2 questions.
But I think, with the example from Tpartner, you should now be able to solve your problem, right?
But I think, with the example from Tpartner, you should now be able to solve your problem, right?
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: meeko434
The topic has been locked.
- meeko434
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
9 years 6 months ago #113356
by meeko434
Replied by meeko434 on topic Screenouts
Thanks for all your help, the team at Limesurvey is AWESOME!! Just want to triple check I have this right before I send my survey out. I used the equation tpartner gave me, so those that are being screened out will be presented with my Quota message. I have an end url, will does that aren't screened out be automatically taken to my second survey with the end url or will they still have to click the link? Just want to make sure, don't want to lose participants because they didn't click the link. Thanks
The topic has been locked.