# Membuat customer field

Membuat customer field baru untuk workspace.

## Sebelum mulai

* Butuh izin `customer_fields:manage`. Tanpa izin itu tombol **Create Field** tidak tampil.
* **Key** dan **Type** tidak bisa diubah setelah field dibuat. Pikirkan keduanya sebelum menyimpan.

## Langkah

<Steps>
  <Step>
    Di halaman **Customer Fields**, klik **Create Field**.

    ![Tombol Create Field](/help/crm/customer-fields/03-create-button.png)
  </Step>

  <Step>
    Dialog **Create Customer Field** terbuka ("Define a custom field that can be filled in on every customer."). Isi **Key** (contoh isian: birthday), **Label** (contoh isian: Birthday), dan pilih **Type**: **Text**, **Number**, **Date**, **Yes / No**, atau **Select (choose one)**.

    ![Dialog Create Customer Field](/help/crm/customer-fields/04-create-dialog.png)
  </Step>

  <Step>
    Bila **Type** = **Select (choose one)**, kolom **Options** muncul. Tulis satu opsi per baris ("One option per line.").

    ![Kolom Options untuk tipe Select](/help/crm/customer-fields/05-select-options.png)
  </Step>

  <Step>
    Atur saklar **Active**. Saklar menyala berarti status **active**, mati berarti **inactive**.

    ![Saklar Active](/help/crm/customer-fields/06-active-switch.png)
  </Step>

  <Step>
    Klik **Create**. Pilih **Cancel** bila tidak jadi membuat.

    ![Tombol Create](/help/crm/customer-fields/07-create-submit.png)
  </Step>
</Steps>

## Hasilnya

Dialog menutup, muncul pesan **Customer field created.**, dan field baru tampil di tabel.

## Masalah umum

* **Key is required** atau **Label is required** — isian kosong.
* **Add at least one option for a select field** — tipe **Select (choose one)** butuh minimal satu opsi.
* **A field with this key already exists.** — **Key** sudah dipakai.
* **You do not have permission to manage customer fields. Ask a workspace owner or admin.** — perananmu tidak punya izin kelola.
* **Failed to create customer field.** — pembuatan gagal; pesan penyebab tampil di dialog.
