views:

274

answers:

0

I have the following requirement:

Each time a form is submitted and when there are validation errors a popup should be displayed saying "There are errors in the form..." (a ).

I find this hard to do as I don't have the possibility to intercept the form submit action. The action method is only executed when there are no error messages...

Thanks for any suggestion.