I have created a custom doctype. I want to add “Created On” field in form level. But it is only displaying in activity only. How to add ?
Hello,
You can’t do that with default fields like created_on, modified, created_by ..etc.
You can create another field with type “DateTime” instead, and the default value to “Now”.
Ok Brother. Thankyou
Or, you can create a new Datetime field and use Fetch From with the value creation. This way, the field will display the actual document creation date instead of storing a separate timestamp.
you can create Created On field but change his field name created_on_ instead of created_on.
Hi @raha
Just out of curiosity - is there ever a possibility that what you hae suggested with Fetch From will EVER be different from the previous suggestion of “Now” DateTime new field?
You are right. In this case, there is no practical difference between using a new Datetime field with default value Now and using Fetch From: creation.