> For the complete documentation index, see [llms.txt](https://en.help.firstline.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://en.help.firstline.cc/feature/crm/untitled.md).

# Custom fields

In addition to the built-in system fields, you can also add custom fields to customers and tickets to collect more information and help expand your business data.

{% hint style="info" %}
Only roles with the "Administrator (admin)" permission have management rights and can add custom fields.
{% endhint %}

You can enter the management list via the "System" item in the FIRST LINE menu on the left by clicking the "Custom Fields" button.

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO07hd0ylizNp0_Xifu%2F-MO0ANh83oXww7-oi6bm%2Fimage.png?alt=media\&token=bf3755c0-f8de-4bea-8366-e333fc7ff1e3)

Custom fields belong under a "Custom Field Category"; when you add a field,**you must first set up and add a custom field category.**&#x20;

## Add Custom Field Category

### **Data Type**

FIRST LINE differs from other systems on the market. After clicking the "Add" button, this category will determine whether the category you add is used for the "Ticket" or "Customer" data structure, and it is further divided into "Form" and "Table" types:

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO07hd0ylizNp0_Xifu%2F-MO0C7RRikCSAc6AR1ih%2Fimage.png?alt=media\&token=0ea18b2b-77bb-41d1-8b6f-91ade45b5950)

**Form Type**\
Fields in the same category are recorded only once, such as zodiac sign, blood type, height, and other data that do not need to be recorded repeatedly.

![Form Preview Example](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO07hd0ylizNp0_Xifu%2F-MO0AyVgyUK-9kMowisQ%2Fimage.png?alt=media\&token=32c4ee23-2d36-48fe-aeb1-ab45dbb3f137)

**Table Type**\
Fields in the same category form a single record set and multiple record sets can be added. This is usually used to record a customer's historical information, such as purchase records or medical history, which may have more than one record.

![Table Preview Example](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO07hd0ylizNp0_Xifu%2F-MO0BIFGW2mw6maIoer6%2Fimage.png?alt=media\&token=c836643c-11f9-4660-a555-863da4947960)

Select the type you need and press "Add" to go to the next settings page.

{% hint style="warning" %}
Once you save this category setting, you cannot change the data type field.
{% endhint %}

### **Category Name**

The display name of the category, such as Member Information, Family Information, etc.&#x20;

### **Description**

The description or notes for this category.

After saving the new "Custom Field Category", you can start adding and modifying fields yourself, such as by dragging to change the order of its dynamic fields.

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO0HrHZx_I-Sml5SseE%2F-MO0wjfe_I-DHOsmxQQK%2Fimage.png?alt=media\&token=ca5824cc-7c31-4449-83d8-f7027a78b397)

## Add Custom Field

After you create a "Custom Field Category", click the field you dragged to edit it

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO0HrHZx_I-Sml5SseE%2F-MO1EXdljIXQ9VO9wQqc%2Fimage.png?alt=media\&token=76b58f38-af80-4f42-9b8b-ab9f60a80709)

The custom field interface will display as follows:&#x20;

1\. Belonging Category: the category to which the custom field belongs. \
2\. Field Name: display name, required field.\
3\. Description: supplementary explanation for this field; if entered, it will be shown next to the field label to remind the user.\
4\. Field Type: required field; determines the data type of this field. Once you save this category setting, you cannot change the type.\
5\. Default Value: once this is entered, when adding a "Ticket" or "Customer" for the first time, the value you set will be prefilled.\
6\. Is Required: if this is enabled, this custom field must be entered when adding or saving a "Ticket" or "Customer" in order to pass validation.
