ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Info Validation Fields

lf14web 24 Jun, 2020
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
Max_admin 24 Jun, 2020
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!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com