> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit user-defined field

> Edit user-defined field

1. Go to **Settings and maintenance** > **Fields**. Then select the required tab: **Company**, **Contact**, **Project**, **Sale**, **Follow-up**, or **Document**.

2. Double-click the required field in the **Fields** list.

3. Make the necessary changes in the various fields. (See the list of [field properties][1]).

   Use the **Type** drop-down to choose a new type. You will see only the compatible field types. That is, where existing data can be converted to fit the new field type.

4. Click **Save**.

5. Click **Publish** to make the changes available to SuperOffice users.

<Note>
  You must publish the changes for user-defined fields before you [define page 1 fields][2] for the various user groups and save (not publish).
</Note>

## Convert field type

Not all conversions are possible because different types of user-defined field values are stored in different tables in the database and use different base data types.

| Field type     | Number | Decimal | Short text | Long text | Date | Unlimited date | Checkbox | List |
| :------------- | :----: | :-----: | :--------: | :-------: | :--: | :------------: | :------: | :--: |
| Number         |    x   |    x    |      x     |           |      |                |          |      |
| Decimal        |    x   |    x    |      x     |           |      |                |          |      |
| Short text     |    x   |         |      x     |           |      |                |          |      |
| Long text      |        |         |            |     x     |      |                |          |      |
| Date           |        |         |      x     |           |   x  |        x       |          |      |
| Unlimited date |        |         |      x     |           |      |        x       |          |      |
| Checkbox       |        |         |      x     |           |      |                |     x    |      |
| List           |        |         |      x     |           |      |                |          |   x  |

**How to read the table:**

The field types in the left column are compatible with and can be converted to the types marked with an x. For example, a number can be converted to a decimal and a short text. (And it is obviously compatible with itself.)

[1]: ./add-udef#properties

[2]: ./edit-udef-layout#page-1


## Related topics

- [Add user-defined field](/en/custom-objects/admin/add-udef.md)
- [Customize layout of user-defined fields](/en/custom-objects/admin/edit-udef-layout.md)
- [NSUserDefinedFieldInfoAgent](/en/automation/crmscript/tutorials/udef-agent.md)
- [SuperOffice.WebApi.Data.UserDefinedFieldInfo](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserDefinedFieldInfo.md)
- [User-defined fields](/en/custom-objects/learn/udef.md)
- [Save User Defined Field Infos](/en/api/reference/restful/agent/userdefinedfieldinfo_agent/save-user-defined-field-infos.md)
