> For the complete documentation index, see [llms.txt](https://knowledgebase.qommentary.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.qommentary.com/qommentary-form/custom-data/adding-input-columns/text.md).

# 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)
