> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Textarea

> Textarea

This element creates an input field that can span several lines.

## Configuration

| Setting   | Description                                        |
| :-------- | :------------------------------------------------- |
| label     | UI label                                           |
| maxLength | The max number of characters the field can contain |
| cols      | The width of the text area (in characters)         |
| rows      | The height of the text area (in characters)        |
| notEmpty  | Whether an empty choice is OK (Bool)               |
| readOnly  | Whether the field can be changed (Bool)            |

## Example

```crmscript theme={null}
label = Comments
cols = 40
rows = 5
notEmpty = false
```

## Functions

### setValue(String value)

Sets the initial contents of the text area.

### toString()

Returns the value of the text area.


## Related topics

- [EventDataDialogDefinition](/en/automation/crmscript/reference/CRMScript.Native.EventDataDialogDefinition.md)
- [Opret en ny formular](/da/marketing/forms/learn/create.md)
- [Opprette et nytt skjema](/no/marketing/forms/learn/create.md)
- [Skapa nytt formulär](/sv/marketing/forms/learn/create.md)
- [Een nieuw formulier maken](/nl/marketing/forms/learn/create.md)
- [Void](/en/automation/crmscript/reference/CRMScript.Global.Void.md)
- [Ein neues Formular erstellen](/de/marketing/forms/learn/create.md)
