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.

Ajax Not working

  1. Hi,

    I recently activated gravity forms on a site.
    After editing and testing the form a couple of times on the site and applying a class to the pages of a multi-step form, I noticed that ajax does not work.
    I am using the ajax="true" in the shortcode, but with no result.
    Ajax is not even working when I preview the forms from the admin side.

    Any help on the matter would be appreciated.

    Posted 9 years ago on Thursday October 11, 2012 | Permalink
  2. You can begin troubleshooting by checking for theme and plugin conflicts using these instructions . It is likely a JavaScript or jQuery error preventing AJAX from working. Please share a link to the page where this form is visible online so we can check it out. Thank you.

    AJAX will not work in the preview because there is no shortcode there to add [ajax="true"] to.

    Posted 9 years ago on Thursday October 11, 2012 | Permalink
  3. Hi Chris,

    I already performed those steps outlined in What is really interesting about this is that the form did work at some point under the same circumstances. (nothing else changed on the site).
    After working on the form a little more, I realized that the Ajax was not working.

    If it helps, I see that the previous/next buttons are now styled. When ajax was working, the buttons had a standard browser style applied to them.

    The URL to the page is: although all forms on this site are facing the same issue. The site runs in a multisite environment, and all the other sites have no issue with ajax.

    Thank You

    Posted 9 years ago on Thursday October 11, 2012 | Permalink
  4. You have a JavaScript error on the page. JavaScript and jQuery errors will cause problems with AJAX forms. See this error:

    Timestamp: 10/12/2012 2:40:04 PM
    Error: ReferenceError: showDiv is not defined
    Source File:
    Line: 85

    Resolve that and we will take another look.

    Posted 9 years ago on Friday October 12, 2012 | Permalink