How to show a field only in create record

I want to show a field only while creating a new record.
Other case is to make a field required but only while creating new record. While editing this field should be optional.
I can't find any way of doing this in the docs.
Was this page helpful?