Make fields non mandatory

Abhi33
Tera Expert

Hi Everyone,

 

we are having a requirement to make fields non-mandatory.

Field 1, field 2, field 3 (three fields are type string) 

All three fields are mandatory at the new form load, but if any one field is entered, the remaining two will become non-mandatory.

I have created ui policies, but it's not working as expected. 

Could anyone suggest me a better approach for doing this?

 

Thanks in Advance,

Abhi

2 REPLIES 2

Murthy Ch
Giga Sage

HI @Abhi33 

 

Try something like below filter:

MurthyCh_0-1665666221006.png

(not tested)

 

 

 

Thanks,
Murthy

Musab Rasheed
Tera Sage
Tera Sage

Hello,

Make sure you are not making fields mandatory from Dictionary rather than from UI policy once form is loaded, Then once any field changes then you can make others non mandatory. I guess you have to write three on change client script for this.

Please hit like and mark my response as correct if that helps
Regards,
Musab