Skip to main content

Hi all,


Is it possible to make a filed mandatory if another field is not empty?


I have two fields and my goal is if the user fill one field the other field become mandatory?


Thanks in advance for your help.


 

Hi,

Yes this is possible and done with a validation rule.
If you have two controls named Control1 and Control2 and you want Control2 to be compulsory if Control1 is not empty you just add the validation rule to Control2.
Rule:
not(isNullOrEmpty(Control1))

Reply