In custom native UI form, I want to make form non-editable

Community Alums
Not applicable

In a custom UI form, I want to make the whole form non-editable when the state is cancelled or complete.
What will be my best practice for this use case. 

Thanks in Advance
Utsav

2 REPLIES 2

sanjeet1245
Tera Guru

You can create a UI Policy that sets all fields to read-only based on the condition of the state.

Jordan Vignoni
Tera Guru

If you want to make it non-editable on the form and in the list-view, I would use access controls.  If you only use UI policy, it will work on the form, but the list-view could potentially still be modified.