Added 'prevalidatefailed' event and is fired when pre-validate fails with errors
Authored by: prudhvireddy 2012-01-21
Parent: [r5971]
Child: [r5973]