Form not working with Elementor 3.31.0+ Error: gf_global is not defined

Hello,

I have a problem with Gravity Forms used with Elementor >=3.31.0.

I made a simple one text box form page and tried with all plugins except Gravity Forms and Elementor disabled and when I click “Send”, I get an error in the console. The error when clicking it is `gravityforms.min.js?ver=2.9.22:1 Uncaught (in promise) ReferenceError: gf_global is not defined`

I tried it with an old version of Gravity Forms (from June) and the latest version - same behavior. It works with Elementor 3.30.4 and as soon as I update to Elementor version 3.31.0 or above, I get this error and the form does not work anymore.

I contacted Elementor support and this is their response (which is really unhelpful and contains no new information…), so here I am asking hopefully for help or a workaround:

After reviewing the issue, it appears that the problem with gf_global is not defined started after the latest Elementor update.

This suggests that the current version of Elementor is not fully compatible with Gravity Forms in this specific scenario, which is why the JavaScript for the form is not loading correctly.

Since this is caused by the interaction between Elementor’s update and Gravity Forms, the best course of action is to contact Gravity Forms support directly. They may have a workaround or guidance on how to make their scripts compatible with the latest Elementor version.

1 Like

We are also experiencing this issue with one of our websites. Did you ever hear back?

1 Like

The answer I got from Elementor is:

Unfortunately, after investigating your ticket, it seems that you are trying to handle an issue related to a 3rd party plugin - Gravity Forms.

Regrettably, we are unable to assist with troubleshooting issues related to third-party plugins/themes. The functionality and performance of any third-party plugins or themes are beyond the boundaries of our support, as we lack control over their underlying code.

So no help from Elementor.

But it seems I missed a plugin when testing. The real culprit is “PowerPack Lite for Elementor” and their Gravity Forms widget. If I use a text widget and insert the shortcode of a form directly, it works. The styling is different and I had to do some custom css, but it works for now.

I guess you could ask their devs, but it kinda works for me now.

1 Like

Did anyone else get a simpler resolution from Gravity Forms other than the manual hack listed above? I have the same issue - no luck so far.

I’m also thinking it must be a plugin conflict as well. Because my other sites that use Elementor don’t have this problem. So I’m going to look through the plugin list and see if there’s anything I can sort out from that end. Thanks for the tip.