diff --git a/spring-webflow-reference/src/spring-faces.xml b/spring-webflow-reference/src/spring-faces.xml index 4c16f640..5f1e9135 100644 --- a/spring-webflow-reference/src/spring-faces.xml +++ b/spring-webflow-reference/src/spring-faces.xml @@ -580,5 +580,20 @@ component, giving the user a clear indicator if the field is left blank or is not a valid date. + + Preventing an Invalid Form Submission + The validateAllOnClick component can be used to intercept the "onclick" event of a child + component and suppress the event if all client-side validations do not pass. + +   +]]> + + + This will prevent the form from being submitted when the user clicks the "proceed" button if the form + is invalid. When the validations are executed, the user is given clear and immediate indicators of the + problems that need to be corrected. + +