SET
What Is It?
The Set action command is used to automatically enter specified values into a question, without conditions.
Available for: Single, Multi, Verbatim, and Verbatims questions.
How Do I Specify It?
- Right mouse-click on the target variable in the Designer Pane
- Select Action Command from the Quick Menu
- Select SET from the drop-down list
- Enter the value to be inserted (see guide below)
- Click "OK" to close the dialogue box.
Examples of Use
Target Variable | Set | Explanation |
Single - numerical | 0.25 | Inserts ‘0.25’ into a numeric field |
Single | 1 | Selects answer code 1 |
Multi | 1,1,1 | Selects the first three answer codes in a Multi question, based on sort order (if randomized, the first 3 codes in the randomized set will be selected). If there are more than three answers to the question, the remaining answers will contain null values. |
Multi | 1,1,1,0,0,0 | Selects the first three answer codes in a Multi question, based on sort order (if randomized, the first 3 codes in the randomized set will be selected). The remaining three answers will be given a value of 0 to tag them as not selected. |