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!

Chronoforms6 - custom validation required

aurelay 18 Jul, 2017
Hello,

I would like to make a custom validation on a "D" field of the next type:
when the values selected of the 3 groups of radio buttons "A", "B" and "C" are equals to "xxxx", the "D" field is mandatory , otherwise it's optional.

I tried using a function in the validation rules of the field "D" but this is called only if the field is filled.

I also thought to use the events of fields "A", "B" and "C" by calling a function but I don't know how to make a mandatory field through javascript.

How can I do this ?

Thanks,
Max_admin 31 Jul, 2017
Hello aurelay,

This may work but after adding a new feature to allow the toggling of a field validation easily, please send me a message using the contact page and mention the topic link and I will send you a patch when its ready.

Best regards,
Max
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