Not able to understand how to make fields mandatory on the basis of Groups particular user belongs

spimple
Tera Contributor

Hello Devs

I am currently working on a requirement in which it has been stated that we need to make Field1 and Field2 mandatory on the basis of condition.
Condition is : When Field1(WHich is a choice field) is not empty and Field2 is empty it should make Field2 mandatory

                        When Field 1 is empty and Field2 is not empty then Field1 should be mandatory

Filter conditions :  When Platform is Test1 or Test2 and User group is Group1 OR Group2  OR Group3
How to achieve this ? I felt it tricky bcz I could not verify user groups in UI Policy

1 REPLY 1

Satyapriya
Mega Sage

You can write a UI Policy to acheive this by providing the required condition