I have a wizard in MVC3 that scrolls through multiple pages before reaching a confirmation page with a submit button.
My problem is, when there is a validation failure in one of the previous pages of the wizard, the issue is not visible when clicking the submit button; all the validation messages are in hidden divs.
How can I tap into the validation on clicking the submit so that I can show a dialog that says "There are one or more problems with the form submission" or something like that when validation fails?