The client-side validator supports the following events.
# OnValidate -- raised before client-side validation is
executed.
# OnValidationSuccess -- raised after client-side validation is completed
and is successfull, overrides default validator error messages updates.
# OnValidationError -- raised after client-side validation is completed
and failed, overrides default validator error message updates.
You can attach custom javascript code to each of these events