make mandatory by selecting the check box

DSV22
Tera Contributor

Hi All, 

I have form where Label variable is mandatory and i need to make it as mandatory as false when the form is loaded

and also make it as mandatory when a check box is selected. I have used the UI policy and made the label mandatory when I selected the checkbox it is working but still it when the form is loaded still showing as mandatory.

 

and used the onload client script but not working accordingly

 

Can anyone help me

 

Thanks

2 REPLIES 2

Kalyani Jangam1
Mega Sage
Mega Sage

Hi @DSV22 

Remove Onload in UI policy like below

Screenshot 2023-02-28 at 5.19.47 PM.png

In Ui policy and client script, your client script make non mandatory but agin UI policy make mandatory hence remove and try.
Please check and mark helpful or correct if it really help you.

HI Kalyani

 

Thanks for the reply I had tried that but it is not working

 

Thanks

Vivek