This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
You can add an expression in the Valid field of a variable so that the respondent can only enter data which matches the expression. For complex expressions it is better to use patterns.
The expression must be a list or range of possible values.
> (greater than), < (less than), >= (greater than or equal to), <= (less than or equal to), <> (not equal to)
You can set the valid range:


To use the Valid property for open responses in a Web surveys, you must also check the Validate Open Responses option in the Interview section of the Questionnaire properties..
Note:You can use a variable within a limited range (e.g. Q9 to 15).
You can also use relational operators within a range (e.g. > Q9).
If you wish to use a relational operator within a limited range (e.g. >Q9 to 15), you cannot do so directly. Instead you must create a derived variable (e.g. V1) that contains the result of (Q9 + 1), and then set the valid range to be V1 to 15.
|
In this section |
|