The required attribute specifies whether a response is required for a given survey item.
<openended> <sliderTrial> <checkboxes> <dropdown> <image> <listbox> <radioButtons> <slider> <textbox>
or
/ required = expressionName | Type | Description |
---|---|---|
boolean | boolean | True or false. |
expression | value | An expression that resolves to true or false. |
The following radioButton survey item requires the respondent to select one of the options:
<radioButtons q1>
/ options=("true", "false")
/ caption="I someTimes think I would like to be a forest ranger."
/ required = true
</radioButtons>