I am using gform_validation and need to change the main error message (not for individual field/s) in the event that an error occurs and could possibly be related to multiple fields (e.g., it's a login form and the email and/or password could be wrong but I just want to display one message that says email or password is invalid). I found add_filter('gform_validation_message') but cannot figure out how to call that from within my validation function. Can you point me in the right direction?
Also, can I do a redirect from within a function that is called using a gravity forms hook?
Thank you.