Gravity Form not loading

After upgrading the theme one Gravity Form on our website is not loading anymore (while another still is).

I have contacted Gravity Forms and they indicated the following is the problem:

Because your form uses conditional logic it has an inline style of display:none applied, if your page has any JavaScript issues they can prevent the Gravity Forms scripts from running, and when those scripts can’t run the inline display:none style can’t be removed.

Here is the JavaScript error from your page:

x-body.min.js:1 Uncaught TypeError: window.csGlobal.collapse is not a function

That error is coming from one of the theme js files. You’ll need to contact the theme developer so they can resolve that issue.

I have tried some suggestions I found on the forum, such as suggested here:

However, when I tried that and even when I completely turned off the Auto-optimize plugin, the problem still occurs.

Please let me know what I can do.

Hi Han,

Please double check if you have both X and Cornerstone updated to the latest version and that you have fully cleared your site’s cache. Also try to clear your browser cache then try to check the form again.

Also, please note that since Gravity Form is a third party plugin, the suggestions we could provide would be limited due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

Thank you for your understanding.

I understand that you can’t support all plugins, but this working fine until a few days ago. It has been working for years and years. This is not the first time that this happens.
The people at Gravity forms have given a detailed answer with which your developers will have a clear point to look at. I will appreciate if they will look at this.

Hi,

Can you provide us the specific url of the page where we can see the issue.

We need to check what is causing this js error

x-body.min.js:1 Uncaught TypeError: window.csGlobal.collapse is not a function

Better yet, would you mind providing us with login credentials so we can take a closer look?

Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.