Version Notice: This article covers features in our r9/IS Pro platform.
Use term after
to choose a point in the survey where respondents should be terminated, rather than terminate immediately. This allows the survey to collect additional data before terminating respondents.
GENDER. With which of the following do you identify?
type: radio
1. Male
2. Female
3. Non-binary / other
99. Prefer not to answer {term after: QAGE}
AGE. How old are you?
type: number
range: 0-99
term after: QZIP {if $QAGE < 18} {text: Under 18}
ZIP. What is your ZIP code?
type: uszip5
Respondents who select "Prefer not to answer" at QGENDER will terminate after answering QAGE. Those who are too young will be terminated after answering QZIP.
Details
-
term after
can be applied as a tag or decorator (as shown in QAGE above). - Unlike
defer term
, which sets a term point for all terminations in the survey,term after
sets the term point for a specific termination only. -
term after
terminates respondents after the target (e.g., QZIP and QAGE above) is answered. Be sure to setterm after
targets that will be seen by all respondents. -
term after
requires an element ID (a question ID, group name, page label, etc.). If a group name is provided, the respondent will terminate after completing the assigned group. -
term after
can be written as a tag on a question or table, similar toterm if
. After the colon, provide a question ID, group ID, or page label. Then, provide the term condition in a decorator. -
term after
can be included with theset term
widget.
Decorators
The following decorators can be applied with term after
.
Decorator | Description |
id |
Specifies the option ID of the option in the tracking variable for terms, disp . If an ID is not specified, the ID defaults to the widget ID on which the term after is placed. |
text |
Specifies the description of the option in the tracking variable for terms, disp . If text is not specified, the description defaults to the question or option text. |
Additional examples
With 'termif'
term after
can be used in concert with termif
on a question to specify a delayed termination, while also allowing for immediate termination for selection of another option.
3D. Under 25 terminates immediately, 45 or older terminates after QZIP
type: radio
termif: anyChecked($Q3D,1) {id: Q3AGE1} {text: Under 25}
term after: QZIP {if anyChecked($Q3D,3)} {id: Q3AGE2} {text: 45 or older}
1. Under 25
2. 25 - 44
3. 45 or older
With 'set term'
term after
can be written as a tag on a set term
widget. The condition
and text
tags are already required for set term
, so you only need to specify the termination point.
setterm: GEN_AGE
condition: anyChecked($QGEN,99) and $QAGE<=18
text: Prefer not to answer gender and 18 or under
term after: QZIP
setterm: GEN_AGE2
term after: QZIP {if anyChecked($QGEN,99) and $QAGE<=18}
text: Prefer not to answer gender and 18 or under
Comments
0 comments
Please sign in to leave a comment.