Is there anyway to call a javascript function upon validation error?
Let's say I have a simple text field that is required. If I click Submit without populating the field, I get "There was a problem with your submission.
Errors have been highlighted below". It's great but I'd like to be able to call a javascript function in addition to displaying the error message. What would be the best way to accomplish that? Thanks.