The textbox question type uses the type: textbox tag to create a large, multi-line text area for respondents to enter their input.
1. Tell us about your experience at the all-inclusive resort?
type: textbox
Details
- The textbox question type accepts unlimited text input unless limited by additional tags.
- Textbox questions can accept any character type.
- Textbox questions can also be formatted as a simple table using the
type: textbox tabletag or as an advanced table with thestart tablewidget.
Common tags
Below are common tags associated with the textbox question type.
| Tag | Description |
|
|
Sets the maximum length of text that can be entered in the text field. |
|
|
Sets the minimum length of text that can be entered in the text field. |
mode |
Alters the default display style of a single question or table. |
placeholder |
Sets default text in the field that disappears once the respondent starts typing. |
textrows |
Specifies the visible number of lines in the |
Additional examples
Formatting textbox questions
In the example below, the textrows tag is used to control the "height" of the textbox. Also, the char_remain template is applied with a specified maxlength to display the remaining characters a respondent can enter before reaching the limit.
Creating textbox tables
Textbox questions can be formatted as a table by using thetype: textbox table tag. In this example, input is limited to 500 characters per row.
Using a tiled layout
Textbox tables can also use the mode: tiled tag, providing an alternative layout for displaying textbox tables to respondents.
Comments
0 comments
Please sign in to leave a comment.