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.

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


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


However on doing so, when we click on update, an error is thrown as shown in the screenshot below.


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



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.



Now, go back to Customize Form and check the field. It should be changed to the new datatype.


Was this article helpful?