When I click on form's submit button, I need to do 2 things..

1. I need to perform server side validation.(in onSubmit method)
2. After that I need to run a script(seperate method) before form submits.


During step 1, if i encounter any validation errors, feedback panel handles
that and displays error messages on the form and step 2 will not execute. If
there are no validation errors, step 2 should execute and then the form
should submit.

In the markup, for button,i am using input type "submit" 

How to handle this situation.

Thanks in anticipation..

-Ben
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/During-form-submit-if-there-are-no-validation-errors-i-need-to-run-a-script-before-form-submits-tp3048282p3048282.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to