Returns the option value at the specified index.
string
Name | Type | Description |
---|---|---|
index | integer | The index of the option value to get. |
The optionValue function returns the value assigned to a response from a multiple choice question.
The following displays an option value from a radioButtons element in the item for a text element:
<text myText>
/ items= ("current category = <% radioButtons.example.optionValue(1) %>")
</text>