# Text field

The **Text** field lets customers enter short text answers.\
It’s ideal for names, titles, short responses, and single-line input.

***

### ✅ When to use Text

Use a Text field when:

* You need a short answer
* The input fits on one line
* Customers type freely

**Common examples**

* First name / Last name
* Company name
* Order number
* City

***

### ⚙️ How it works

* Customers type text into a single input field
* The value is saved with the submission

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

***

### 🧩 How to add a Text field

1. In the app > open form editor > click **Add element**
2. Select **Text**
3. Set the field label
4. Configure other details of the field
5. Click Save

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

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

***

#### Placeholder text

Shows a hint before the user types.

**Examples**

* `Enter your full name`
* `Company name`&#x20;

***

#### Default value (optional)

Pre-fills the field when the form loads.

**Examples**

* `USA`
* `Guest`

⚠️ Tip: Leave empty if you want users to type their own value.

***

#### Required field (recommended)

Prevents form submission until the field is filled.

**Examples**

* Name on contact forms
* Order number on support forms

***

### 🌟 Best practices

* Use clear labels
* Keep placeholders short
* Use **Text** instead of **Textarea** for short answers

***

#### Need More Help?

If you still need assistance, please contact us at [**support@powerfulform.com**](mailto:support@powerfulform.com). Our team will be happy to help you resolve any issues or guide you further.


---

# 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://docs.powerfulform.com/quick-start/form-field-types/text-field.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.
