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.

Pre rendering breaking when ajax is enabled.

  1. wlcx
    Member

    When ajax is enabled, the gform_pre_render filter breaks when there's a validation error. How do I fix this?

    Posted 11 years ago on Tuesday January 22, 2013 | Permalink
  2. Please provide a link to the site with the form in question so we can see what you're talking about.

    It's possible you need to gform_post_render filter to run your code after a validation error: http://www.gravityhelp.com/documentation/page/Gform_post_render

    This jQuery hook is fired every time the form is rendered to allow custom jQuery to be executed. This includes initial form load, going to the next/previous page on multi-page forms, form rendered with validation errors, confirmation message displayed, etc.

    Posted 11 years ago on Tuesday January 29, 2013 | Permalink