PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

jQuery script to fire after validation error

  1. I got the gform_post_render javascript hook to work using jQuery but I don't see any documentation on how to detect if the form has been rendered with an error. I need that to change an absolute positioned element to stay in place once the errors show on the forms.

    Posted 11 years ago on Thursday January 17, 2013 | Permalink
  2. Please see this:
    http://www.gravityhelp.com/forums/topic/call-javascript-function-upon-validation-error#post-16766

    There is no event you can bind to for the validation error, but you can check for the existence of the validation_error div and run your code then.

    Posted 11 years ago on Thursday January 17, 2013 | Permalink