Change Custom Field Datatype After Field Creation

On creation of a custom field, it is not possible to change datatype directly once the form is updated. To understand how to fix this issue, let's take an example.

Customize Form - Customer

Let's assume, we need to create a custom field called "Client" in some DocType, and have to set the datatype of the field to "Data" .

Customize Form - Customer Fields

We added a new Row (Row 14), and labeled it as 'Client'.

Customize Form - Customer Fields - Client - Data

But we wish to change the field from Data to Link as shown below.

Customize Form - Customer Fields - Client - Link

However on doing so, when we click on update, an error pops up as shown below.

Field Type cannot be changed from Data to Link in Row 14

To fix this, navigate to Custom Field list via the search bar. Search for the field whose datatype you wish to change.

Custom Field List

Open the record and change the datatype. Make sure to enter any other relevant information too. In this case, the "Options" field needs to be filled if we want to change the datatype to "Link". Click on Save. This should change the field to the new datatype.

Related Topics

  1. Customize Form

On this page