up Inquisit Language Reference

range attribute

The range attribute defines the minimum and maximum allowed responses.

Member of

<checkboxes> <openended> <slider> <slidertrial> <textbox>

Syntax

/ range = (minimum, maximum)

Parameters

minimum The minimum permissible response value.
maximum The maximum permissible response value.

Remarks

The range attribute provides a simple way to constrain the range of numeric responses to be between the specified minimum and maximum values. To place more complex constraints on a survey response, see the mask attribute.

Examples

The following constrains the range of valid responses to be 18 to 120.

<textbox age>
/ caption="Please enter your age"
/ range=(18, 120)
</textbox>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.