<form method="POST" id='mainForm'>
<input type='email' name="email" value="email@example.com">
<button name="superbutton">Press me</button>
When using local validation methods, jquery-validate calls
event.preventDefault() when validation fails, and otherwise returns normally to allow the normal form submission to occur.
form.submit() to submit the form.