I have a form that has multiple inputs which are validated with HTML5 validation. When I submit the form with by clicking the submit button it works fine.
However, when I want to submit this form using jQuery's .submit()
it does not validate the form.
How can I force jQuery to validate the form before it is submitted?