The Multiline Text widget allows users to enter text across multiple lines. Use this widget when users need to provide longer responses, comments, descriptions, notes, or other free-form text that cannot be captured in a single-line field.
The basic properties of the widget are defined in the General tab and are as follows:
| Property | Description |
|---|---|
| Label | Text displayed to users on the form. The label identifies the purpose of the field. For example,:First name. |
| ID | Unique identifier assigned to the widget. The ID is used internally to identify the field within the form definition. For example, Text070upd. |
| Required | Determines whether users must provide a value before submitting the form. When enabled, the field becomes mandatory. |
| Read-only | Determines whether users can modify the field value. When enabled, the field is displayed but cannot be edited. |
| Colspan | Specifies how many columns the widget occupies within the form layout. Use this property to control field width and alignment within grid-based layouts. |
| Rowspan | Specifies how many rows the widget occupies within the form layout. Use this property to control field height and alignment within grid-based layouts. |
| Placeholder | Default text displayed when the field has no value. Placeholders can be used to provide examples or guidance about the expected input. |
| Tooltip | Help text displayed when users hover over or select the field's help indicator. Tooltips provide additional instructions or context about the field. |
In addition to this, the Multiline Text widget has the property:
| Property | Description |
|---|---|
| Auto grow | Automatically increases the height of the field as the user enters additional lines of text. When enabled, the text area expands to fit the content, reducing the need for internal scrolling. |
The advanced properties of the widget are defined in the Advanced tab and are as follows:
| Property | Description |
|---|---|
| Default value | Specifies the value displayed when the form opens. Users can modify the value if the field is not configured as read-only. |
| Min length | Specifies the minimum number of characters that can be entered, including spaces. |
| Max length | Specifies the maximum number of characters that can be entered, including spaces. |
| Regex pattern | Defines a regular expression used to validate the
entered value. The form can only be submitted when the value matches the
specified pattern. Common Regex patterns are: Alphanumeric characters without space: ^[a-zA-Z0-9]*$ Alphanumeric characters with space: ^[a-zA-Z0-9 ]*$ Common email addresses: ^([a-zA-Z0–9._%-]+@[a-zA-Z0–9.-]+\.[a-zA-Z]{2,6})*$ Username, meaning an alphanumeric string that may include underscore (_) and dash (-), 3 to 16 characters long: ^[a-z0-9_-]{3,16}$ Date in YYY-MM-dd format: ([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])) URL address with https(s) protocl optional: (https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*) File path with filename and extension: ((\/|\\|\/\/|https?:\\\\|https?:\/\/)[a-z0-9 _@\-^!#$%&+={}.\/\\\[\]]+)+\.[a-z]+$ |
| Custom Regex Validation Message | Error message displayed when the entered value does not match the regular expression. If not specified, the default message is Enter a different value. |