up Inquisit Language Reference

required attribute

The required attribute specifies whether a response is required for a given survey item.

Member of

<openended> <sliderTrial> <checkboxes> <dropdown> <image> <listbox> <radioButtons> <slider> <textbox>

Syntax

/ required = boolean

or

/ required = expression

Parameters

Name Type Description
boolean boolean True or false.
expression value An expression that resolves to true or false.

Remarks

Examples

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>

Copyright Millisecond Software, LLC. All rights reserved.