In custom native UI form, I want to make form non-editable
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 10:01 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 10:07 PM
You can create a UI Policy that sets all fields to read-only based on the condition of the state.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 05:34 PM
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.