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.

Having trouble with Ajax form submission / validation

  1. I'm running the latest version of GFs have a GF I'm integrating some JQuery on my site in order to toggle the display of the form with an onClick function. Unfortunately, even with Ajax enabled within the shortcode... upon submit the entire page reloads and ideally I'd like the form to stay in focus but, display the validation errors. Please help!

    Here is a link to my GF form site page:
    http://www.storygeeks.com/WPTest/authors/basic-book-evaluation/

    Thanks in advance for any support you can provide...

    Posted 12 years ago on Tuesday March 20, 2012 | Permalink
  2. Hi, jlyons,

    When loading your page using FireFox with the FireBug add-on turned on, I am getting a lot of javascript errors. You can see a screenshot of the errors here: http://grab.by/cy9m . It looks like jQuery is not included so that is why things aren't working correctly. If you are embedding a form using a function call, you need to also enqueue the necessary Gravity Form scripts. Take a look at this documentation regarding that: http://www.gravityhelp.com/documentation/page/Embedding_A_Form

    If you still have problems once jQuery is being properly included on the page let us know.

    Posted 12 years ago on Tuesday March 27, 2012 | Permalink

This topic has been resolved and has been closed to new replies.