What you can do is put your script on the click event of a regular button. When you are satisfied with the state of the form, you can invoke the click event of the submit button programmatically.Something likeif (no more validation) then mySubmitButton.event("click")else Don't submit.Jasmin