# Text

**Text** controls are ideal for capturing any type of content - from short comments/notes to lengthy narratives.

**Data type**: `string`

### Adding a Text control

1\. Edit your sheet\
2\. Click on the **Qommentary Form** extension\
3\. Expand **Input fields** section\
4\. Click on **Add input field**

![](/files/BnoatVlk8GKGraLX9EBS)

5\. Select **Text** from the dropdown menu

![](/files/NfGVJWMNFgUtYn8MkaLl)

6\. Add a **label** to display in the form

![](/files/gw8gPO3I543utJpc9K02)

7\. Add a **field** name

![](/files/5Ovv4EEhKTkQcJ8UeRi7)

{% hint style="danger" %}
If database is selected as data connection, then field name **must map** to destination table column name.
{% endhint %}

{% hint style="warning" %}
Field name cannot contain spaces.
{% endhint %}

8\. Click on **Done**

**Text** input field can now be updated and saved.

![](/files/Q1Da37JrN74lvgmfYeng)

### Enabling multi-line text

By default, the Text control displays values in a single line. When multi-line is enabled, users have a larger area to compose their narrative text before saving.

To enable multi-line text, please follow these steps:

1\. Edit your sheet\
2\. Click on the **Qommentary Form** extension\
3\. Expand **Input fields** section and **Text** control\
4\. Locate the **Text format** property

<div align="left"><img src="/files/-MZD_XVkoDAAZYiMNUP_" alt=""></div>

5\. Click on **Multi-line** button

![](/files/1kDByJgh3k64n8ChoBMr)

6\. Drag and drop the slider handle to set the desired number of text lines to display in the textarea

![](/files/rzTzNCQ9Hli4Wfl7FV5W)

### Setting a max limit

If you wish to set a limit to the maximum amount of characters that can be typed, please follow these steps:

1\. Edit your sheet\
2\. Click on the **Qommentary Form** extension\
3\. Expand **Input fields** section and **Text** control\
4\. Locate the **Max characters** property

![](/files/oDZZGdGLvHw91QoNzqa9)

5\. Change the max characters to your desired limit

![](/files/aYaOoAAaOcZl1yfAn674)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.qommentary.com/qommentary-form/custom-data/adding-input-columns/text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
