up Inquisit Language Reference

required property

Whether a response is mandatory for a survey item.

Member of

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

Syntax

object.name.required

Read/Write

Type

integer

Remarks

A value of 1 indicates a response must be given, 0 indicates a response is optional.

Examples

The following displays the value of required in a text stimulus:

<text myText>
/ items= ("required = <% textbox.q1.required %>")
</text>

The following displays the value of required in an instruction page:

<page myPage>
required = <% checkboxes.q2.required %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.