Text Area
A question of type text_area allows the user to enter text. The answer can be multiple lines of text.
{
"id": 1,
"required": true,
"type": "text_area",
"key": "text_area",
"label": "Text (long)",
"description": "a text area question",
"answers": [
{
"id": 0,
"options": {
"allowEmojis": false
}
}
]
}
Answer Options
This chapter describes the option possibilities for an answer.
Name | Type | Description | Required | Default |
|---|---|---|---|---|
minLength | int | Minimum allowed length for the answer. | false | 0 |
maxLength | int | Maximum allowed length for the answer. | false | 0 (unlimited) |
regex | string | Regex pattern for answer validation. | false | |
defaultValue | string | Default value to prefill the input. | false | |
password | bool | If true, input is hidden as password. | false | false |
uppercase | bool | If true, input is forced to uppercase. | false | false |
allowEmojis | bool | If false, emojis are not allowed. | false | true |
Examples
Last modified: 04 June 2025
