Skip to main content
Version: 3.2.0

Text area

Input

A text area is a form element used to capture multi-line input from users in a conversational interface. The text area component is typically used for longer inputs such as descriptions, comments, or feedback, providing users with more space to type their responses.

It is an important tool for creating intuitive and effective conversational interfaces that can collect and process large amounts of user input.

Configuring the text area elementโ€‹

Text area settingsโ€‹

The text area offers the following configuration options:

Generalโ€‹

Propertiesโ€‹

  • Label - the label of the text area
  • Placeholder - the placeholder text that appears in the text area
  • Helpertext - additional information about the text area field (can be hidden inside an infopoint)

Datasourceโ€‹

The default value for the element can be configured here, this will autofill the text field when you will run the process.

Validatorsโ€‹

There are multiple validators can be added to a text area element (more details here).

Expressionsโ€‹

The text area's behavior can be defined using JavaScript expressions for hiding or disabling the element. The following properties can be configured for expressions:

  • Hide - JavaScript expression used to hide the text area when it returns a truthy value
  • Disabled - JavaScript expression used to disable the text area when it returns a truthy value
info

It's important to make sure that disabled fields have the same expression configured under the path expressions โ†’ hide.

UI actionsโ€‹

UI actions can be added to the text area field to define its behavior and interactions.

  • Event - possible value: CHANGE
  • Action Type - select the action type

info

For more details on how to configure a UI action, click here.

Text area stylingโ€‹

The ability to style the text area element using CSS properties is relevant because it allows you to customize the appearance of the text area to match the overall design of the website or application.

ยปUI Designer styling

Was this page helpful?