UIPolicy not working

F_bio Santos
Kilo Sage

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 ?

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@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.

View solution in original post

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@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.

Thank you @Sandeep Rajput, is there any way to go arround this issue ?

Unfortunately, Read only and Mandatory are mutually exclusive. You can't have both.