The defaultResponse attribute presets the response of a survey item to a specified value.
<openended> <sliderTrial> <checkboxes> <dropdown> <image> <listbox> <radioButtons> <slider> <textbox>
or
/ defaultResponse = integeror
/ defaultResponse = expressionName | Type | Description |
---|---|---|
text | string | A string specifying the defaultResponse for a survey item, slidertrial, or openended trial. |
integer | integer | An integer specifying the defaultResponse for a survey item, slidertrial, or openended trial. |
expression | value | An expressoin specifying the defaultResponse for a survey item, slidertrial, or openended trial. |
When defaultResponse is specified for a survey item, that response for the item is preset to the specified value the first time the item appears on a survey page. For multiple choice items, the defaultResponse determines which item is selected. For textbox items, the textbox is prepopulated with the text of the defaultResponse.