AjaxFormValidtingBehavior should not cause form submission when their is no
error.
-----------------------------------------------------------------------------------
Key: WICKET-3729
URL: https://issues.apache.org/jira/browse/WICKET-3729
Project: Wicket
Issue Type: Bug
Components: wicket-core
Affects Versions: 1.4.17
Reporter: chun ping wang
Priority: Critical
AjaxFormValidatingBehavior.addToAllFormComponents(myForm, "onchange"); would
cause a form submission if their is no error.
Most of the time you do not want the form to submit but rather only have client
side validation.
example:
i enter 24AA on phone number.. i get an error.
I enter 1234568899 .. i don't get an error but I shouldn't have my input
submitted.
Maybe some option to decide if you should submit when their is no error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira