- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 04:34 AM
Hi everyone, Im using a widget called "Form" on the portal, wich will get the default view of a form to the portal. In this form I have 2 UIPolicy's one that makes a field mandatory if a certain group mis assigned, and other that makes all field's readOnly if "Assigned to" is empty.
For some reason the field that I have the UI Policy that makes it mandatory only gets readOnly if I deactivate this UI Policy ...
It almost looks like the UI Policy are coliding with each one, does anyone knows how to solve this ?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 04:51 AM - edited 11-06-2023 04:52 AM
@F_bio Santos If a field is marked as mandatory then it can not be made read only. Hence you UI Policy is not working due to this reason.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 04:51 AM - edited 11-06-2023 04:52 AM
@F_bio Santos If a field is marked as mandatory then it can not be made read only. Hence you UI Policy is not working due to this reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 06:38 AM
Thank you @Sandeep Rajput, is there any way to go arround this issue ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 06:44 AM
Unfortunately, Read only and Mandatory are mutually exclusive. You can't have both.