The maxchars attribute determines the maximum number of characters allowed for a response.
<textbox>
integer | An integer specifying a the maximum number of characters allowed. |
When the number of characters typed by the respondent reaches this limit, additional typing is ignored (unless the respondent first deletes characters).
The following allows subjects to enter responses up to 2 characters.
<textbox question>
/ caption="Enter your age"
/ maxchars = 2
</textbox>