> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/administrator-documentation/case-type-settings/creating-contact-custom-fields-label-type.md).

# Creating Contact Custom Fields (Label Type)

This lesson will show you how to create contact custom fields by Label Type. Before you do this, you should know how to create basic contact custom fields, which you can find [here](/administrator-documentation/case-type-settings/creating-basic-contact-custom-fields-person-or-company.md).

{% stepper %}
{% step %}

### Select "Label Type" in group details

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

Contact custom fields controlled by label type will appear on the contacts page of those with the corresponding labels. To create a field group of this type, select "Label Type" on the radio list and save the group.
{% endstep %}

{% step %}

### Select the label the custom field group will apply to

<figure><img src="/files/rFXzE0RUDSBXhL5O3SEU" alt="" width="283"><figcaption></figcaption></figure>

When creating a contact custom field group of this type, you will see a new option on the group page. This option, "Label," will allow you to select the labels that this custom field group will be applied to.
{% endstep %}

{% step %}

### Create custom fields and save changes

<figure><img src="/files/7nyfR24aV8uf01dS5PEP" alt=""><figcaption></figcaption></figure>

After selecting a label, proceed to create your custom fields and save the group as you would in a basic contact custom field group.
{% endstep %}

{% step %}

### View custom fields

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

With the group created, you will be able to view the custom fields on the contact page of any contacts with the corresponding label under the "Details" tab.
{% endstep %}

{% step %}

### Contacts with multiple labels

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

When a contact bears multiple labels, each label contact custom field group will be listed as a tab under the main "Details" tab on the page.
{% endstep %}
{% endstepper %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.agilecase.com/administrator-documentation/case-type-settings/creating-contact-custom-fields-label-type.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
