Forums

Validation condition

osowakki 01 Aug, 2010
First let me say thanks to the developers of chronoforms for a great component!

My question is: I've created a form, and some of its fields only show if a certain checbox is checked (using jQuery). I'd like to validate these fields, but only if that checkbox is checked.

Is there a way to create such conditioned validation?

Thanks,
Osowakki
GreyHead 01 Aug, 2010
Hi Osowakki,

Hmmm . . . yes, but it's a bit tricky to make work properly. If you are using JQuery to display the inputs you might be better off using JQuery validation too.

Bob
This topic is locked and no more replies can be posted.