# \#ajax

**URL:** https://community.gravityforms.com/tag/ajax/210.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Prevent ajax enabled from from creating browser history states \[Privacy Issue\]](https://community.gravityforms.com/t/prevent-ajax-enabled-from-from-creating-browser-history-states-privacy-issue/19414)

<div class="topic-metadata">

**Author:** [@wordpressgfdev002](https://community.gravityforms.com/u/wordpressgfdev002)\
**Replies:** 0\
**Last updated:** [May 25, 2025, 7:34am UTC](https://community.gravityforms.com/t/prevent-ajax-enabled-from-from-creating-browser-history-states-privacy-issue/19414 "2025-05-25T07:34:05Z")

</div>

Hi, Gravity forms pushes a history state in the browser for each form step or submit action in a multistep ajax enabled form. This is really a huge privacy issue and I’d like to try to resolve it and prevent ajax from p…

---

## [Adding a query parameter to Gravity Forms ajax endpoint in js](https://community.gravityforms.com/t/adding-a-query-parameter-to-gravity-forms-ajax-endpoint-in-js/19228)

<div class="topic-metadata">

**Author:** [@wordpressgfdev002](https://community.gravityforms.com/u/wordpressgfdev002)\
**Replies:** 1\
**Last updated:** [April 14, 2025, 2:45am UTC](https://community.gravityforms.com/t/adding-a-query-parameter-to-gravity-forms-ajax-endpoint-in-js/19228 "2025-04-14T02:45:18Z")

</div>

Hi All, Just wondering if its possible to add a query string parameter to gravity forms ajax endpoint so that it will post/get with something like admin-jax.php?param=1 Thanks

---

## [Subtotal Not Updating when Product Option is Selected](https://community.gravityforms.com/t/subtotal-not-updating-when-product-option-is-selected/19201)

<div class="topic-metadata">

**Author:** [@user5abb0e028f57b2.6](https://community.gravityforms.com/u/user5abb0e028f57b2.6)\
**Replies:** 0\
**Last updated:** [April 6, 2025, 5:47pm UTC](https://community.gravityforms.com/t/subtotal-not-updating-when-product-option-is-selected/19201 "2025-04-06T17:47:20Z")

</div>

I’m seeing a weird behavior on this multipage gravity form that was working on the previous version of this form, which has only changed minimally. It seems like it could be a gravity forms glitch. The subtotals have his…

---

## [Form entries not saving after updating to 2.9.2](https://community.gravityforms.com/t/form-entries-not-saving-after-updating-to-2-9-2/18806)

<div class="topic-metadata">

**Author:** [@lubosjezik](https://community.gravityforms.com/u/lubosjezik)\
**Replies:** 5\
**Last updated:** [January 21, 2025, 2:25pm UTC](https://community.gravityforms.com/t/form-entries-not-saving-after-updating-to-2-9-2/18806 "2025-01-21T14:25:59Z")

</div>

Hi, I have an issue after updating the plugin to v 2.9.2 I have found out after some debugging that it is caused by sending the wrong hash when submitting a form. The expected hash and the sent hash are not the same. …

---

## [Ajax stoped working on all forms](https://community.gravityforms.com/t/ajax-stoped-working-on-all-forms/18804)

<div class="topic-metadata">

**Author:** [@esales2000](https://community.gravityforms.com/u/esales2000)\
**Replies:** 1\
**Last updated:** [January 21, 2025, 9:46am UTC](https://community.gravityforms.com/t/ajax-stoped-working-on-all-forms/18804 "2025-01-21T09:46:20Z")

</div>

I\`m using the Gravity contact form on all my website ( Flastsome ) with Ajax enabled. When the “Submit” button is clicked, the details are sent from the form. However, there is no indication that the form has been submi…

---

## [We are not receiving our payment forms since the update](https://community.gravityforms.com/t/we-are-not-receiving-our-payment-forms-since-the-update/18787)

<div class="topic-metadata">

**Author:** [@user5d24daa76efe5242](https://community.gravityforms.com/u/user5d24daa76efe5242)\
**Replies:** 3\
**Last updated:** [January 18, 2025, 7:50am UTC](https://community.gravityforms.com/t/we-are-not-receiving-our-payment-forms-since-the-update/18787 "2025-01-18T07:50:43Z")

</div>

we have several forms but our payment form is not saving and we can’t see any entries. Our other forms for information and other details are working.

---

## [Form doesn't submit but entry still added](https://community.gravityforms.com/t/form-doesnt-submit-but-entry-still-added/18664)

<div class="topic-metadata">

**Author:** [@mw-dev](https://community.gravityforms.com/u/mw-dev)\
**Replies:** 4\
**Last updated:** [December 19, 2024, 2:27pm UTC](https://community.gravityforms.com/t/form-doesnt-submit-but-entry-still-added/18664 "2024-12-19T14:27:55Z")

</div>

Hello, My gravity form on https://www.valpak.co.uk/contact-us/ doesn’t currently submit are getting this error in the console: contact-us/:1214 Uncaught TypeError: Cannot read properties of undefined (reading ‘handleBu…

---

## [Google Tag Manager registers two conversions when using ajax](https://community.gravityforms.com/t/google-tag-manager-registers-two-conversions-when-using-ajax/18333)

<div class="topic-metadata">

**Author:** [@user5f5a441bb5217476](https://community.gravityforms.com/u/user5f5a441bb5217476)\
**Replies:** 0\
**Last updated:** [October 11, 2024, 9:10am UTC](https://community.gravityforms.com/t/google-tag-manager-registers-two-conversions-when-using-ajax/18333 "2024-10-11T09:10:46Z")

</div>

We use a Gravity Form in an Elementor popup with ajax enabled. The popup is visible after pressing a button. It works great, but in Google Tag Manager we register the form submit twice. So this gives a wrong calculation…

---

## [Quiz addon: questionnaire in multipage problem with page reloading \[RESOLVED\]](https://community.gravityforms.com/t/quiz-addon-questionnaire-in-multipage-problem-with-page-reloading-resolved/18154)

<div class="topic-metadata">

**Author:** [@willbe](https://community.gravityforms.com/u/willbe)\
**Replies:** 1\
**Last updated:** [September 9, 2024, 5:11pm UTC](https://community.gravityforms.com/t/quiz-addon-questionnaire-in-multipage-problem-with-page-reloading-resolved/18154 "2024-09-09T17:11:20Z")

</div>

I have a problem in a multipage form and Quiz addon where I set the option to see immediate feedback with each answer. Once the answer is given it is no longer obviously editable because you can see immediately what the…

---

## [Best Way to Track Google Ads Conversions in GTM with Ajax Enabled](https://community.gravityforms.com/t/best-way-to-track-google-ads-conversions-in-gtm-with-ajax-enabled/17986)

<div class="topic-metadata">

**Author:** [@GwenTheHen](https://community.gravityforms.com/u/GwenTheHen)\
**Replies:** 0\
**Last updated:** [August 13, 2024, 8:31am UTC](https://community.gravityforms.com/t/best-way-to-track-google-ads-conversions-in-gtm-with-ajax-enabled/17986 "2024-08-13T08:31:55Z")

</div>

We currently track our Gravity Forms submissions via Google Tag Manager, using the Submit button click as the trigger. This works well most of the time, and we’ve set it to track only one event per page, so if someone su…

---

## [Stripe additional payment method don't work with ajax](https://community.gravityforms.com/t/stripe-additional-payment-method-dont-work-with-ajax/17952)

<div class="topic-metadata">

**Author:** [@enzo.amr](https://community.gravityforms.com/u/enzo.amr)\
**Replies:** 0\
**Last updated:** [August 4, 2024, 11:42am UTC](https://community.gravityforms.com/t/stripe-additional-payment-method-dont-work-with-ajax/17952 "2024-08-04T11:42:14Z")

</div>

Hello, is it possible to enable the “enable additional payment method” option on my form while using the AJAX form? If I disable the option, my Stripe payment form looks completely different. So, I would like to keep the…

---

## [Form Jumping to Top Multi Page](https://community.gravityforms.com/t/form-jumping-to-top-multi-page/17951)

<div class="topic-metadata">

**Author:** [@user66376b75afb4c886](https://community.gravityforms.com/u/user66376b75afb4c886)\
**Replies:** 0\
**Last updated:** [August 4, 2024, 12:51am UTC](https://community.gravityforms.com/t/form-jumping-to-top-multi-page/17951 "2024-08-04T00:51:57Z")

</div>

The form multi page that is jumping even using ajax. If I dont use ajax it scrolls all the way to the top and back down to the form. It does the same with form titles using ajax jump to top of form then to the entry.

---

## [Next page form jumps](https://community.gravityforms.com/t/next-page-form-jumps/17590)

<div class="topic-metadata">

**Author:** [@rochel](https://community.gravityforms.com/u/rochel)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 3:19pm UTC](https://community.gravityforms.com/t/next-page-form-jumps/17590 "2024-06-26T15:19:59Z")

</div>

Hi, when i click next on my multi page form the its skips to the second line of the form instead of going to the top of the from. Any ideas?

---

## [Ajax submit Forms, that where Loading via Ajax result](https://community.gravityforms.com/t/ajax-submit-forms-that-where-loading-via-ajax-result/17479)

<div class="topic-metadata">

**Author:** [@andrew1](https://community.gravityforms.com/u/andrew1)\
**Replies:** 0\
**Last updated:** [May 17, 2024, 6:58am UTC](https://community.gravityforms.com/t/ajax-submit-forms-that-where-loading-via-ajax-result/17479 "2024-05-17T06:58:42Z")

</div>

Ajax submit Forms, that where Loading via Ajax result I need to ajax filter posts, where each post has own GF form with ajax=true. Will Ajax submit work in this case?

---

## [Is it possible to use JS to hang a listener when sending it for validation?](https://community.gravityforms.com/t/is-it-possible-to-use-js-to-hang-a-listener-when-sending-it-for-validation/17357)

<div class="topic-metadata">

**Author:** [@user62bc8073ba4a4804](https://community.gravityforms.com/u/user62bc8073ba4a4804)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 8:09am UTC](https://community.gravityforms.com/t/is-it-possible-to-use-js-to-hang-a-listener-when-sending-it-for-validation/17357 "2024-04-26T08:09:54Z")

</div>

I have AJAX form \[gravityform id="2" title="false" description="false" ajax="true" required\_legend="false"\] I need to run a js function after submitting a form when the form shows the message gform\_validation\_errors . …

---

## [\[SHARE\] Gravity Forms with AJAX, conditional logic, page transitions (compatible with Barba.js, Taxi.js, Highway.js, ...)](https://community.gravityforms.com/t/share-gravity-forms-with-ajax-conditional-logic-page-transitions-compatible-with-barba-js-taxi-js-highway-js/17328)

<div class="topic-metadata">

**Author:** [@nyuton](https://community.gravityforms.com/u/nyuton)\
**Replies:** 0\
**Last updated:** [April 23, 2024, 2:57pm UTC](https://community.gravityforms.com/t/share-gravity-forms-with-ajax-conditional-logic-page-transitions-compatible-with-barba-js-taxi-js-highway-js/17328 "2024-04-23T14:57:44Z")

</div>

Hello community, I wanted to share my findings regarding the use of Gravity Forms with AJAX, particularly compatible with page transitions. I’ve gone through many topics related to this subject due to various issues I e…

---

## [Problem of page refresh after form submission](https://community.gravityforms.com/t/problem-of-page-refresh-after-form-submission/17251)

<div class="topic-metadata">

**Author:** [@cliqindiastudio](https://community.gravityforms.com/u/cliqindiastudio)\
**Replies:** 1\
**Last updated:** [April 13, 2024, 1:26am UTC](https://community.gravityforms.com/t/problem-of-page-refresh-after-form-submission/17251 "2024-04-13T01:26:47Z")

</div>

i have a gravity form integrated on my WordPress website now ideally I was expecting a thank you note after form submission rather it refreshing the entire front page and then a thank you note showing up now I want a tha…

---

## [W3C html validation failed - \<style\> not in \<head\>](https://community.gravityforms.com/t/w3c-html-validation-failed-style-not-in-head/16642)

<div class="topic-metadata">

**Author:** [@Madeincima](https://community.gravityforms.com/u/Madeincima)\
**Replies:** 3\
**Last updated:** [February 14, 2024, 8:51am UTC](https://community.gravityforms.com/t/w3c-html-validation-failed-style-not-in-head/16642 "2024-02-14T08:51:11Z")

</div>

Hello, I have a problem using Gravity Forms with AJAX enabled. When using the following PHP function in a file: gravity\_form(2, false, false, false, array(), true); HTML is printed in the body containing a \<style\> tag…

---

## [Using Gravity Forms in a SPA approach](https://community.gravityforms.com/t/using-gravity-forms-in-a-spa-approach/16780)

<div class="topic-metadata">

**Author:** [@user637636afded60003](https://community.gravityforms.com/u/user637636afded60003)\
**Replies:** 0\
**Last updated:** [February 2, 2024, 8:10pm UTC](https://community.gravityforms.com/t/using-gravity-forms-in-a-spa-approach/16780 "2024-02-02T20:10:41Z")

</div>

Hi, I’m using gravity forms 2.8.3 in on a Wordpress site that uses a library to handle page transitions and loading of pages using ajax. The form gets rendered by a shortcode. The problem is that when navigating betwee…

---

## [JavaScript does work after submission via Ajax ( Ajax submission )](https://community.gravityforms.com/t/javascript-does-work-after-submission-via-ajax-ajax-submission/16488)

<div class="topic-metadata">

**Author:** [@waqtar4](https://community.gravityforms.com/u/waqtar4)\
**Replies:** 1\
**Last updated:** [December 21, 2023, 6:13pm UTC](https://community.gravityforms.com/t/javascript-does-work-after-submission-via-ajax-ajax-submission/16488 "2023-12-21T18:13:27Z")

</div>

Hey Community, I am facing issue similar to the one defined on this: Some javascript functionality doesn't work when AJAX is enabled on multi-step form When the Ajax is enable on the form, all the click events and res…

---

## [AJAX reload form after submission – save to storage?](https://community.gravityforms.com/t/ajax-reload-form-after-submission-save-to-storage/16049)

<div class="topic-metadata">

**Author:** [@user5c019a3c442f99.5](https://community.gravityforms.com/u/user5c019a3c442f99.5)\
**Replies:** 1\
**Last updated:** [October 17, 2023, 6:21pm UTC](https://community.gravityforms.com/t/ajax-reload-form-after-submission-save-to-storage/16049 "2023-10-17T18:21:07Z")

</div>

Hey! I have a form inside a modal, and on form submission, it displays a confirmation message. I’m using AJAX as to not reload the page. I want users to be able to reload the form after submitting it, but I don’t want th…

---

## [GFs AJAX="true" Date Picker Doesnt work](https://community.gravityforms.com/t/gfs-ajax-true-date-picker-doesnt-work/16005)

<div class="topic-metadata">

**Author:** [@HireaChef101](https://community.gravityforms.com/u/HireaChef101)\
**Replies:** 0\
**Last updated:** [October 9, 2023, 11:34pm UTC](https://community.gravityforms.com/t/gfs-ajax-true-date-picker-doesnt-work/16005 "2023-10-09T23:34:02Z")

</div>

Hello, my issue is that when i use ajax ( specifically to stop page reload ) my date picker doesnt pop up. when ajax is not in the shortcode, it works perfectly ive checked the codes presented in other help posts but …

---

## [Ajax spinner not showing when activating PayPal checkout plugin](https://community.gravityforms.com/t/ajax-spinner-not-showing-when-activating-paypal-checkout-plugin/15994)

<div class="topic-metadata">

**Author:** [@IsabelleJobin](https://community.gravityforms.com/u/IsabelleJobin)\
**Replies:** 2\
**Last updated:** [October 9, 2023, 3:08pm UTC](https://community.gravityforms.com/t/ajax-spinner-not-showing-when-activating-paypal-checkout-plugin/15994 "2023-10-09T15:08:07Z")

</div>

My Ajax spinner doesn’t show once the PayPal ckeckout is applied in my form. It works on all other forms that don’t use the PayPal payment. Can you help

---

## [Updating form input value after AJAX request is made](https://community.gravityforms.com/t/updating-form-input-value-after-ajax-request-is-made/15964)

<div class="topic-metadata">

**Author:** [@zflashare](https://community.gravityforms.com/u/zflashare)\
**Replies:** 1\
**Last updated:** [October 5, 2023, 10:04am UTC](https://community.gravityforms.com/t/updating-form-input-value-after-ajax-request-is-made/15964 "2023-10-05T10:04:21Z")

</div>

Is there a way to update a hidden input value of a gravity form after an AJAX request is finished? I want to pass a post ID to the hidden input value, nothing fancy. Also, is there a way to reset gravity form fields an…

---

## [Get Ajax to work with Divi](https://community.gravityforms.com/t/get-ajax-to-work-with-divi/15390)

<div class="topic-metadata">

**Author:** [@user6287fc76cd37e744](https://community.gravityforms.com/u/user6287fc76cd37e744)\
**Replies:** 0\
**Last updated:** [June 20, 2023, 7:51pm UTC](https://community.gravityforms.com/t/get-ajax-to-work-with-divi/15390 "2023-06-20T19:51:43Z")

</div>

Hi! I have a multi step form set up on a Divi site but I cannot get Ajax to work at all. I have set ajax=“true” but it still wont work. Every time someone goes to next step on the form it reloads the entire page. How do…

---

## [Form failure - reload to anchor tag area](https://community.gravityforms.com/t/form-failure-reload-to-anchor-tag-area/15281)

<div class="topic-metadata">

**Author:** [@user608697c9e45eb032](https://community.gravityforms.com/u/user608697c9e45eb032)\
**Replies:** 1\
**Last updated:** [June 14, 2023, 3:17pm UTC](https://community.gravityforms.com/t/form-failure-reload-to-anchor-tag-area/15281 "2023-06-14T15:17:59Z")

</div>

Hi. I have a landing page, with a registration form on the bottom of the page (there is also an anchor tag for a user to jump to the form directly. The problem is, if the user fills out something incorrectly, after the…

---

## [BarbaJs - reset form after submit, or prevent persisted form state when ajax loads HTML form](https://community.gravityforms.com/t/barbajs-reset-form-after-submit-or-prevent-persisted-form-state-when-ajax-loads-html-form/15325)

<div class="topic-metadata">

**Author:** [@user647fa7090219a314](https://community.gravityforms.com/u/user647fa7090219a314)\
**Replies:** 0\
**Last updated:** [June 12, 2023, 5:15pm UTC](https://community.gravityforms.com/t/barbajs-reset-form-after-submit-or-prevent-persisted-form-state-when-ajax-loads-html-form/15325 "2023-06-12T17:15:01Z")

</div>

We use BarbaJS (https://barba.js.org/) to handle page transitions on our site. Page requests are processed by Barba, which replaces the main content of the site when each Ajax request is resolved. If a user interacts wi…

---

## [Multistep forms reloading on iOS but not on Android](https://community.gravityforms.com/t/multistep-forms-reloading-on-ios-but-not-on-android/15214)

<div class="topic-metadata">

**Author:** [@user633c3cc88d8d8830](https://community.gravityforms.com/u/user633c3cc88d8d8830)\
**Replies:** 0\
**Last updated:** [May 25, 2023, 2:34pm UTC](https://community.gravityforms.com/t/multistep-forms-reloading-on-ios-but-not-on-android/15214 "2023-05-25T14:34:07Z")

</div>

I am having an issue with my multipage forms. My forms are content blocks within accordions. The test form has AJAX enabled. I have also installed the Fresh Forms plug-in to prevent page reload on multi-page forms site-w…

---

## [Error: Invalid reCAPTCHA when used on multi-page forms](https://community.gravityforms.com/t/error-invalid-recaptcha-when-used-on-multi-page-forms/15124)

<div class="topic-metadata">

**Author:** [@webservicesforbusine](https://community.gravityforms.com/u/webservicesforbusine)\
**Replies:** 1\
**Last updated:** [May 12, 2023, 6:38pm UTC](https://community.gravityforms.com/t/error-invalid-recaptcha-when-used-on-multi-page-forms/15124 "2023-05-12T18:38:27Z")

</div>

Hi there, I’m having some issues making the reCAPTCHA work on a 2 page form where it constantly gives the following error message: “The reCAPTCHA was invalid. Go back and try it again.” We’re using the inbuilt reCAPTCH…

---

## [Force AJAX on all forms from GF Settings \[RESOLVED\]](https://community.gravityforms.com/t/force-ajax-on-all-forms-from-gf-settings-resolved/14983)

<div class="topic-metadata">

**Author:** [@user60f5673b66e1e689](https://community.gravityforms.com/u/user60f5673b66e1e689)\
**Replies:** 2\
**Last updated:** [April 21, 2023, 11:27am UTC](https://community.gravityforms.com/t/force-ajax-on-all-forms-from-gf-settings-resolved/14983 "2023-04-21T11:27:33Z")

</div>

Hi there, I have some websites where we have forgotten to tick the AJAX option within the Gravity Forms widget. Is there any way to set ALL forms to use AJAX regardless of what is set in the widget or shortcode? I feel…

[Next page](https://community.gravityforms.com/tag/ajax/210.md?match_all_tags=true&page=1&tags%5B%5D=ajax)
