Answer the question
In order to leave comments, you need to log in
Ajax form submission - validation not working. Bug or feature?
See for yourself jsfiddle.net/artishok/ZCd7X/1/
In the first case, everything is correct. The button has a submit type.
In the second case, the button has the button type, and we catch its click using javascript (jquery is used in the example). When clicked, submit the form. Form field validation not working.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question