Hello,
on a form I am building I need to limit users to submit the form only when the radio box selection is "Yes", in case they select "No" I have to display a custom message.
Following this FAQ I tried a custom validation JS but the first problem is that I didn't find the Class field in the radio box element. So I tried to add a custom element with the radio inside it and that class attribute set to the correct value.
Of course it doesn't work.
The custom validation code when added to a text box works correctly.
I am using ChronoForms Version 4.0.2
Here is my form:
http://www2.exel.it/index.php?option=com_chronoforms&tmpl=component&chronoform=Prova
Any help is appreciated.
Thanks.
Gianpaolo
on a form I am building I need to limit users to submit the form only when the radio box selection is "Yes", in case they select "No" I have to display a custom message.
Following this FAQ I tried a custom validation JS but the first problem is that I didn't find the Class field in the radio box element. So I tried to add a custom element with the radio inside it and that class attribute set to the correct value.
Of course it doesn't work.
The custom validation code when added to a text box works correctly.
I am using ChronoForms Version 4.0.2
Here is my form:
http://www2.exel.it/index.php?option=com_chronoforms&tmpl=component&chronoform=Prova
Any help is appreciated.
Thanks.
Gianpaolo