---
title: "Field types reference"
description: "Every type a custom field can have, as the Type list shows it, and which one to pick for a given piece of information."
url: https://help.gleap.ai/fr/articles/294-field-types-reference
collection: "Inbox and tickets"
updated: 2026-11-16
language: fr
alternates: [en]
---

# Field types reference

Every type a custom field can have, as the Type list shows it, and which one to pick for a given piece of information.

A field's type decides what can be entered, how it's displayed and, more importantly, what you can do with it afterwards in filters, routing rules and workflows. You pick it in the **Type** list when you add a field under **Settings → Inbox & tickets → Data attributes → Add attribute**. The names below are written exactly as that list shows them.

### Text

![Data attributes screen in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/0BfQwIf0vwqGcjqKp2pDJs2Wct5xgcwVKlLmBiX5jzmoMQ19JQ9l5ideimrvht7xbFbV7UzNJRC.png)

-   **text**: a single line. For short identifiers: an order number, a licence key, an account reference.
    
-   **textarea**: several lines of plain text, for notes and descriptions.
    
-   **richtext**: formatted text with headings, lists and links, for anything that needs structure.
    

### Choices

-   **select**: one option from a list you define.
    
-   **multiselect**: several options at once.
    
-   **boolean**: true or false, for something that's simply yes or no.
    

> **Info:** These are the types to reach for. Anything with a known set of answers is far more useful as a select than as text: you can filter and route on it, and it can't be misspelt.

### Numbers, dates and times

-   **number**: for anything you'd compare or add up, such as an amount, a quantity or a score.
    
-   **date**: a calendar date, such as a deadline or a purchase date.
    
-   **time**: a time of day, for appointments and windows.
    

Use number instead of text for anything numeric. "Greater than 500" only works on a number field; on text it compares character by character and gives you nonsense.

### Contact details and files

-   **email** and **phone**: an email field only accepts a valid address, and a phone field comes with a country picker and formatting.
    
-   **upload**: a file attached to the ticket, for receipts, logs and screenshots that belong to a field instead of to the conversation.
    

### Choosing

Work backwards from what you'll do with it. If you want to filter or route on a field, it needs a type with well-defined comparisons: select, number, date or boolean. If it's only ever read by a person, text is fine.

Getting this right at the start saves the awkward migration later, when a text field holding "high", "High" and "very high" has to become the select it should always have been.

### Related

-   [Set up ticket types and custom fields](https://help.gleap.ai/en/articles/293-set-up-ticket-types-and-custom-fields.md)
    
-   [Filter the inbox and save your own views](https://help.gleap.ai/en/articles/297-filter-the-inbox-and-save-your-own-views.md)
    
-   [Build a workflow](https://help.gleap.ai/en/articles/311-build-a-workflow.md)
