Summary
This article defines the instruction setVarQst.
Table of Contents
Instruction setVarQst
Overview
Sets a question (cell) variable. The resolved question is stored under the specified variable name. The instruction returns the value of the question as result. As additional feature the stored question can be used as question Id for subsequent instructions for the cell. Example: When you store a question to variable myQst, then the question can be referenced with &&myQst for subsequent instructions. This applies to the current cell only. This does not work across cells.
Question Id
Recommended. Should be a path to a question. Alternatively the path to the question can be specified as input value. That should be used for special cases only.
Value
Required. Needs to be the name of the variable. While any name might do, same commands require the name to be a Java identifier consisting of a leading letter followed by letters or numbers.
Input value
Can specify a question path, when no question Id value is specified. This should be used in special cases only, for example, when the path of a question is configured with a parameter or property.
Examples
Form Type Id | Question Id | Instruction | Value | Column Number | Column Title | Data Type |
---|---|---|---|---|---|---|
$> $>acnspc $>aeacnoth | const $>setVar $>setVarQst $>multiParamListLookup | 88 $>otherChoice $>otherQst $>otherActionTakenEx | 13 | AEACNOTH |
Need more help?
Please visit the Fountayn Contact Information page.