up Inquisit Language Reference

maxChars attribute

The maxChars attribute determines the maximum number of characters allowed for a response.

Member of

<textbox>

Syntax

/ maxChars = integer

or

/ maxChars = expression

Parameters

Name Type Description
integer integer An integer specifying a the maximum number of characters allowed.
expression value An expression resolving to an integer specifying a the maximum number of characters allowed.

Remarks

When the number of characters typed by the respondent reaches this limit, additional typing is ignored (unless the respondent first deletes characters).

Examples

The following allows subjects to enter responses up to 2 characters.

<textbox question>
/ caption="Enter your age"
/ maxChars = 2
</textbox>

Copyright Millisecond Software, LLC. All rights reserved.