> For the complete documentation index, see [llms.txt](https://docs.loopit.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loopit.co/settings/custom-fields/field-data-types.md).

# Field Data Types

Field Data Types determine **what kind of input users can provide** when filling out a form.\
Choosing the correct field type helps ensure **accurate data collection**, **better validation**, and an **improved experience**.

Below are the supported field types along with explanations and examples.

***

### Supported Field Types

#### 1. Text

**Purpose:**\
Used for short, single-line text input.

**Best for:**\
short answers, identifiers.

**Example:**

* Vendor ID

***

#### 2. Textarea

**Purpose:**\
Allows users to enter long, multi-line text.

**Best for:**\
Descriptions, comments, notes, or feedback.

**Example:**

* Additional Remarks

***

#### 3. Phone

**Purpose:**\
Captures phone numbers with proper formatting and validation.

**Best for:**\
Contact numbers.

**Example:**

* +91 99999 4444

***

#### 4. Number

**Purpose:**\
Accepts only numeric and decimal values.

**Best for:**\
Quantities, prices, counts, or numeric identifiers.

**Example:**

* Quantity: 10
* Amount: 24.50

***

#### 5. Date

**Purpose:**\
Allows users to select a calendar date.

**Best for:**\
due dates, event dates.

**Example:**

* 25 Dec 2026

***

#### 6. Date & Time

**Purpose:**\
Allows users to select both date and time.

**Best for:**\
Appointments, scheduling, booking times.

**Example:**

* 25 Dec 2026, 10:30 AM

***

#### 7. Checkbox

**Purpose:**\
Allows users to select **yes/no** or **true/false** values.

**Best for:**\
Agreements, confirmations, enabling options.

**Example:**

* ☑ I agree to the Terms & Conditions

***

#### 8. Dropdown

**Purpose:**\
Allows users to select **one option** from a predefined list.

**Best for:**\
Limited choices where only one value is allowed.

**Example Options:**

* Petrol
* Diesel
* Electric

***

#### 9. Multi-Select

**Purpose:**\
Allows users to select **multiple options** from a predefined list.

**Best for:**\
Tags, preferences, features, or categories.

**Example Options:**

* Airbags
* ABS
* Sunroof

***

### How to Choose the Right Field Type

| Requirement           | Recommended Field Type |
| --------------------- | ---------------------- |
| Short text            | Text                   |
| Long description      | Textarea               |
| Phone number          | Phone                  |
| Numeric/Decimal value | Number                 |
| Date only             | Date                   |
| Date with time        | Date & Time            |
| Yes / No choice       | Checkbox               |
| Single selection      | Dropdown               |
| Multiple selections   | Multi-Select           |

***

### Summary

Selecting the correct **Field Data Type** ensures:

* Cleaner and more structured data
* Better validation
* Improved form usability

Use **Dropdown** and **Multi-Select** when predefined options are available, and **Text / Textarea** when user flexibility is required.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.loopit.co/settings/custom-fields/field-data-types.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.
