Buy Now
Sign in

Info Validation Fields

lf14web , June 24 2020, 10:55
L
lf14web 70
June 24 2020, 10:55 #393232
Hi,
I need an suggest how to enable / disable validation field how to example:
1) Checkbox : if is checked enable validation of 2 Text Fields
2) Of The 2 Text Fields, is mandatory to fill only one
I've tried to setup the Events how screenshots below but the The 2 Fields have validation enable if the checkbox is not checked.
How I can do that?
Regards
Screen_Shot_06-24-20_at_12.53_PM.PNG
Screen_Shot_06-24-20_at_12.54_PM.PNG
Screen_Shot_06-24-20_at_12.54_PM_001.PNG
admin 33
June 24 2020, 14:53 #393241
2 fields required and disabled, when the checkbox is checked it will enable their validation, and when any of them is not empty then it will disable the validation of the other, when empty it will enable both validations again!