Gravity Forms 3.2.0 appending ?gf_page_ to the URL of every post where a form is present

Hi,

I updated to GF 3.2.0 two days ago and since then I’ve been seeing a strange thing:

The URL of every post where a contact form is present now has the query ?gf_page_ followed by the contact form number and (in the case of multi-page forms) the form page, like this:

{URL}/?gf_page_58=2

This is not optimal, and I want to get rid of it, but how?

Is this a bug?

Thanks in advance for any help!

Fabio

The gf_page_{formId} query argument is added to the URL by JavaScript post render because the form on that page has multiple pages. It:

  • Identifies the page currently displayed
  • Lets you link directly to a specific page
  • Links validation errors in the validation summary directly to the page containing the field with the error

Here’s the relevant line from the 3.2 changelog:

Added support for linking to a page within a multi-page form, and improved accessibility by making links in the validation summary go to the correct page.

There currently isn’t a way to disable or customize the feature. The product team are looking at including a filter to disable it in the 3.2.1 update, which is currently planned for release late next week.

Thanks for the help, Richard!

In that case, I decided to roll back to 3.1.3 by uploading a backup. Next time I definitely won’t update as quickly as I did this time. :slight_smile:

Fabio

This needs to change or be optional. Nobody wants a random parameter string after their main URL or homepage address. We utilise a multistep signup for a newsletter on a leading Australian publication website. If we can’t remove then we’ll need to look at another plugin that doesn’t insist on forcibly modifying the users browser url.

Just chiming in to agree 100% with everything said in other replies here. We’ve been using GravityForms for 5+ years across a range of enterprise-grade leadgen sites and have overall been super happy with it! But it’s wild that something like this would suddenly get added with no way to toggle it off. We cannot roll this update out to our production sites as it currently exists

Another vote for removing this new “feature” or making it optional. This is causing problems with clients. It shouldn’t automatically append on page load when the user hasn’t even interacted with a form that’s halfway down a page.

I think the accessibility improvement makes sense, but changing the URL automatically feels like a pretty big side effect for something that wasn’t explicitly enabled.

One thing I’d be a bit concerned about is analytics. If a site has custom tracking that listens for URL changes, this could potentially create unexpected pageview events or split reporting across different URLs.

I’m not sure how common that setup is, but it’s probably worth considering alongside the concerns already raised here.

Maybe the best compromise would be to keep the page-linking feature available, but make the automatic URL update optional. That way sites can use it when they need it without changing existing behavior for everyone.