Warnings allow survey programmers to add a validation which permits respondents to submit answers that fail to satisfy validation criteria, but only after the second submission attempt. After the first attempt at submitting a response that does not meet validation criteria, respondents receive a message. This is identical to a typical validation message a survey designer or programmer might write, but it should include an explanation so respondents are aware their answer will be accepted if it is re-submitted.
Syntax
To turn a regular validate
widget into a warning, add the warn
tag to the widget definition. In the below, the validation test question N for a value x, and displays the message if question N is any other value.
validate: $QN == x message: Are you sure your response is not x? Click next to continue. warn: y
Examples
Verifying a dubious response
Some questions may invite questionable-but-not-impossible responses. In the example below, respondents are asked to verify their response to a share-of-wallet question.
Slider default value unchanged
Sometimes, survey designers request that a slider defaults to a midpoint value. Since the midpoint value is also an acceptable answer, respondents may not need to actually modify the default value. In such cases, it is prudent to verify that this response is intentional.
Comments
0 comments
Please sign in to leave a comment.