Forums

How to check form without submit

webcrea 02 Feb, 2017
Hi,

All is in title, i would want to verify (required value, valide value...etc) the form after click on simple button.

thanks
GreyHead 02 Feb, 2017
Hi Christophe,

Hmm . . . I'm not sure how to do this. There is some code at the end of this FAQ that lets you call a JavaScript function when the validation is successful. I think to should be possible to have that function block the submission . . . but I haven't found out how to do that.

Usually if I need to do something like this I use the jQuery validate library instead of the CF one as that has more controls to handle how the validation runs.

Bob
webcrea 02 Feb, 2017
ok
Thanks Bob
Regards
This topic is locked and no more replies can be posted.