> For the complete documentation index, see [llms.txt](https://docs.labii.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.labii.com/widgets/column-widgets/form/text-inputs/text.md).

# Text

## **Specs**

<table><thead><tr><th width="320">Label</th><th>Value</th></tr></thead><tbody><tr><td><strong>Version</strong></td><td>1.2.0 (updated on 2025-07-13)</td></tr><tr><td><strong>Developer</strong></td><td>Labii Inc.</td></tr><tr><td><strong>Type</strong></td><td>Column</td></tr><tr><td><strong>Support Configuration</strong></td><td>Yes</td></tr><tr><td><strong>Support Readonly view</strong></td><td>Yes</td></tr><tr><td><strong>Support Edit view</strong></td><td>Yes</td></tr><tr><td><strong>Support Form view</strong></td><td>Yes</td></tr><tr><td><strong>Support Default value</strong></td><td>Yes</td></tr><tr><td><strong>Support Import</strong></td><td>Yes</td></tr><tr><td><strong>Allow multiple</strong></td><td>Yes</td></tr></tbody></table>

## Overview

A Text widget is a crucial user interface element used for handling and displaying text-type data in Labii. It enables text input, display, formatting, scrolling, and interactivity, with features like text selection, clipboard support, and search functionality.

## Use case

1. Use this widget to collect short text like `First Name.`

## Configuration

The widget operates without any initial configuration. However, you can customize it to enable additional features.

* **Should show data length** - If you want to show the data length, check this field.
* **Prompt** - The prompt to be used to guide GPT in generating the value for this column.
  * **Prompt** - The prompt string.
  * **GPT Model** - The GPT model to use for generating the value.
    * ChatGPT, general purpose model, is suitable for most tasks.
    * ChatGPT4.0, general purpose model with improved capabilities.
    * SummaryGPT, designed for summarization tasks, is optimized for generating concise summaries.
    * RewriteGPT, focused on rewriting and improving existing text, is ideal for tasks that require text enhancement.
    * ShorterGPT, aimed at producing shorter responses, is best for tasks with strict length requirements.
    * LongerGPT, designed for generating longer responses, is suitable for tasks that require detailed explanations or in-depth analysis.
  * **Button Text** - The text to display on the button that triggers the GPT generation.
  * **Icon** - The icon to display on the button.

## Views

See the interface of the widget in the following views.

### **Readonly view**

Readonly view display the values of the column. If **Should show data length** is enabled, it will display characters length.

<figure><img src="/files/tG04fdNNTujZmerXrfWb" alt=""><figcaption></figcaption></figure>

The widget supports links and will make them clickable:

<figure><img src="/files/SovmK2aMJ5TP4xKX2PvG" alt=""><figcaption></figcaption></figure>

#### **AI functions**

If the AI Prompt feature is configured within the system settings, a button will appear on the user interface, showcasing the designated button text. This functionality ensures that whenever a prompt is defined, a corresponding button with the specified label will be displayed, allowing users to interact with the AI-driven capabilities seamlessly.

{% embed url="<https://youtu.be/OahY9wXpxJQ>" %}

### **Edit view**

The Edit view is the interface that allows you to modify the value.

<figure><img src="/files/mXtaCfAq2GqDlPnXFrOw" alt=""><figcaption></figcaption></figure>

#### **AI Functions:**

The editing capabilities of the Text widget now include AI functions. Users can input text into the box, use it as a prompt, and receive AI-generated responses. Additionally, users can create summaries, enhance writing, and adjust the text to be shorter or longer.

### **Form view**

The Form view is the field integrated into the add form for collecting values when creating a new record.

The Form view is same as the Edit view.

## Data

Each widget in Labii stores data in a unique manner; refer below to understand how data from this widget is stored.

### Data format

Text

### **Default value**

The Default Value field within the column allows you to specify the default value when a record is created.

Default value can be any text.

### **Import value**

The Import Value is the value you need to include in your Excel table for it to be imported into Labii.

Import value can be any text.
