up Inquisit Language Reference

defaultresponse attribute

The defaultResponse attribute presets the response of a survey item to a specified value.

Member of

<openended> <slidertrial> <checkboxes> <dropdown> <image> <listbox> <radiobuttons> <slider> <textbox>

Syntax

/ defaultresponse = text

or

/ defaultresponse = integer

or

/ defaultresponse = expression

Parameters

Name 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.

Remarks

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.

Examples


Copyright Millisecond Software, LLC. All rights reserved.