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.

Validation / Submit loads new page

  1. Hello

    As a test case I have a form with a required for all all fields.

    When i click submit, the validation doesn't seem like it's loaded via jquery/ajax method, rather it loads a new page (ie when clicking refresh prompted to re-send).

    Also on submit the thanks message is loaded via jquery/ajax, but on what appears to be a new page.

    Any ideas?

    Thanks

    Posted 14 years ago on Friday June 25, 2010 | Permalink
  2. Validation isn't currently done via ajax/jquery and neither is form submission. Both do a standard post back and refresh the page. We will probably implement the ability to turn on ajax/jquery postbacks for form submission in a future release, however we avoided doing so up until now in an effort to limit possible plugin conflicts.

    The more ajax and jquery you introduce the chance for other plugins to cause issues increases due to the large number of plugins that are poorly designed and developed.

    Posted 14 years ago on Friday June 25, 2010 | Permalink
  3. Thanks for your response.

    I have an installation of Gravity on another domain and I believed that was submitting via ajax/jquery, but I was wrong!

    I understand about the conflicts, it makes sense. It would be good to have an option to load jquery scripts, the framework itself and css files (as you do now) via choices in the admin, and only loading them on pages where Gravity forms reside.

    Posted 14 years ago on Friday June 25, 2010 | Permalink
  4. When and if we do implement form submission via ajax we would make it an optional setting and have the ability to turn it on or off just like we do with CSS. Currently javascript and CSS are only loaded on pages where a Gravity Form is being called from, so it already does that.

    Posted 14 years ago on Friday June 25, 2010 | Permalink