I have a document with workflow states like “Open”, “Active”, “Editing”. At “Open” state all the fields will be writable. At “Active” state no fields will be writable/editable and the display will be on, even if the field is null/empty. Again at “Editing” state all the fields will be editable. In all the states, I am keeping docstatus =0. The doc is not submittable.
What I want is:
All the fields will be shown at all the states, regardless of read-only true or false.
Make all the fields read-only with a single code during stage change to “Active”. And make all the fields editable during stage change to “Editing”.