Link type field confusion

Hello, I would like to know what is the difference in declaring a link type field at form level vs declaring it at docType level? In fact, the same question applies for any type of field.


As I understand, link type field is able to declare at form level only (declear docType name in options box). Can you explain how to declaring it at docType level?

To add a Custom Field, go to:

Setup > Customize > Customize Form

And from here, you could also add a link type field.

If you open or create a new doctype, when you add a new field, it also gives you the option to select link as the field type.

In case it could help somebody,

Accordingly to the ErpNext documentation, it’s always advisable to declare custom fields at form level instead of doing it in the standard doctype itself.