I have worked some recapthca into my web form and want to maintain the client side form validation. As the form currently is
<form action="ajax/ajax_repSubTesting.php" method="POST" name="submitform" onSubmit="checkform(this)">
checkform() is a series of if/else statements to inform the user that a data field is either blank or not valid. Problem is that once the submit button is clicked , the checkform is called popping up an error window, and once closed the ajax script is called.
How would I code this so that the form action is dependent on everything in checkform() validated properly?