using UI Policy check field Mandatory, but sometimes it seems didn' t work

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2019 11:44 AM
hi experts,
I have a requirement , when both of the following conditions are met, it need to check some fields Mandatory. All of those fields Mandatory check is before clicking update button.
1. states=closed;
2.when u_wi_update = 1-7, checking related fields
i want to use UI Policy to achieve it.
, but it always have some check errors.
for example, when i choose "1:xxxxxx", it check 4 fields Mandatory, it hasn't error , but if i change to "3:xxxxxx" , it just check 1 fields.
i don't know why . could anyone give some advise? thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 12:37 AM
hi Harshvardhan,
My requirement is when states=closed(states field is a choice) and u_wi_update = 1-7(u_wi_update is a reference field), then check related fields Mandatory.
According to my requirement, I set 3 UI Policies. and all Order is 100.
However, it always have some check errors.
for example, when i choose u_wi_update = "1:xxxxxx", it check 4 fields Mandatory, it hasn't error , but if i change to "3:xxxxxx" , it just check 1 fields. I don't know why

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 12:42 AM
you used 3 ui policy , if yest then make the order 100 ,200 , 300 and see if that is working or not.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 01:02 AM
I change order 100 ,200 , 300 , still have problem .
firstly, I choose 1:xxxxx, it check 4 fields, then I change 3:xxx, it check 5 fields, change 4, it still check 5 fields.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 01:29 AM
quick question .
may i know what are the 3 ui policy is doing ? is it doing the same thing , to make field mandatory ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 01:45 AM
yes. you can see my original question. I have pasted pictures.