Dear all,

I would like to perform form validation using Ajax before the user actually 
submits the form, similar to Ajax-based field validation. I have added an 
implementation of AbstractFormValidator to the form, and an Ajax behavior that 
sends the current data to the server triggered by the "onchange" event. 
My problems are: 
1. The form validator gets called and can process the current form fields, but 
I do not see how to refresh the feedback panel properly.
2. What is the best practice to trigger form validation? Currently, I call 
getForm().onFormSubmitted() from within setObject() of my model, which in turn 
gets called from the "onchange" Ajax behavior, but to call onFormSubmitted() is 
discouraged in the javadoc.

TIA for any feedback :-)
Erich

Reply via email to