Skip Navigation

[Resolved] Ajax conflict with gravity forms

This thread is resolved. Here is a description of the problem and solution.

Problem:

when using the gravity forms ajax button 'subscibe' in the header, the submission is properly saved, however the ajax isnt firing. It works fine when disabling the Views plugin.

Solution:

It seems "gravity forms" plugin does not support to display the same form into the same page twice, see details here:

https://toolset.com/forums/topic/ajax-conflict-with-gravity-forms/#post-1179817

Relevant Documentation:

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by jamesH-8 5 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1176284

I am trying to:
when using the gravity forms ajax button 'subscibe' in the header, the submission is properly saved, however the ajax isnt firing. It works fine when disabling the Views plugin. This is a new issue. All plugins are up to date.

Link to a page where the issue can be seen:
hidden link
I expected to see:

Instead, I got:

#1176688

Hello,

It seems to be a compatibility problem with "gravity forms" plugin, please check these:
1) In case there is other conflict issue in your website, please deactivate other plugins, and switch to wordpress default theme 2019, and test again
2) Enable PHP debug mode, copy/paste the debug logs here:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging
3) If the problem still persists, please provide a copy of your website, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1177925

I have done everything you asked and see that views is interfering.

#1177926

I am happy to provide credentials.

#1178826

Please backup your website first, then provide the your website credentials in below private message box. thanks

#1179523

Thanks for the details, I can login into your website, will update here if there is anything found

#1179730

The duplicator plugin does not work in your website, I have to install other plugin "UpdraftPlus" to export your website data.

#1179817

Here are what I found, it seems "gravity forms" plugin does not support to display the same form into the same page twice,

Please edit the content template "Subscribe Module"
hidden link
remove "gravity forms" shortcode
[gravityform id="1" title="false" description="false" ajax="true"]

And test again.

#1180183

My issue is resolved now. Thank you!