This event occurs when there is a validation error.
This event occurs when submitting the application to onValidate there is an error generated by the macros sc_error_exit, sc_error_message, or by an error verified by Scriptcase (errors related to Database).