By default, when a respondent fails to qualify for any open quota, they are immediately routed to the system termination page and assigned the appropriate status, T or Q. The if over
and if none
tags allow for overriding these defaults and customizing how a quota routes a respondent out of the survey.
1. Please enter you age below.
type: integer
range: 1-120
AGE. Age quotas
type: quotas
if over: quotafull
if none: nonqual
1. twenties {if $Q1 >= 20 and $Q1 <= 29}
2. thirties {if $Q1 >= 30 and $Q1 <= 39}
3. fourties {if $Q1 >= 40 and $Q1 <= 49}
4. fifties {if $Q1 >= 50 and $Q1 <= 59}
2. What is your ZIP code?
type: uszip5
startgroup: quotafull
condition: never
We're sorry, we have already collected enough responses that are similar to yours.
endsurvey
endgroup: quotafull
startgroup: nonqual
condition: never
We're sorry, you have not qualified to take this survey.
endsurvey
endgroup: nonqual
In the example above, a respondent that does not qualify for any of the quota buckets in QAGE will be routed to the "nonqual" group, and a respondent that only qualifies for buckets that are full will be routed to the "quotafull" group. Neither will see Q2. The condition: never
tag on the groups ensure that other respondents always skip those pages.
Details
-
if over
defines where a respondent should be routed to if they have an "Over quota" status. -
if none
defines where a respondent should be routed to if they have a "Terminate" status. -
if over
andif none
can be used individually or together. - The point defined in
if over
orif none
can be a label, page label, group name, or 'NEXT.' - The group or label used with
if over
andif none
must only have one page and must also include theendsurvey
widget. - 'NEXT' allows the respondent to continue and complete the survey even if they fail to qualify for a quota.
Tip! if over: group_name
and if over: NEXT
are slightly different. Both set the 'oq' value, but only if over: group_name
sets status to 'Q'. if over: NEXT
will continue to the following page without changing the status, and as such, the 'oq' variable can be used to route certain quotas to a different end link and final status.
Comments
0 comments
Please sign in to leave a comment.