WP Rocket plugin

The WP Rocket option Enable for iframes and videos at Settings → WP Rocket → Basic → LazyLoad must be turned Off for the reCAPTCHA element to work correctly.

FooBox plugin

The FooBox options Disable Other Lightboxes and Deregister Other Lightbox Files at FooBox → Settings → Advanced must be turned Off for Quform popup forms to work. These options do not affect non-popup forms.

W3 Total Cache

If Database Caching is enabled, go to Performance → Database Cache and at the Ignored query stems: field add a new line containing quform_sessions

After saving the settings, go to Performance → Dashboard and click the empty all caches button.

Stop Spammers Security

With the default options for this plugin, it may cause an “Ajax error” for form submissions in some situations. To fix it, you can turn off Form Checking for Quform forms, by going to Stop Spammers → Protection Options and at the Form Checking section enable the option Only Use the Plugin for Standard WordPress Forms and save the settings.

Elementor Popup Builder

Forms inside popups created by this plugin will not submit via Ajax. If you add the following code to Forms → Settings → Custom CSS & JS → Custom JavaScript it should fix the issue.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
jQuery(function ($) {
    $(document).on('elementor/popup/show', function (e, id) {
        $('.elementor-' + id).each(function () {
            var $form = $(this).find('.quform-form');
 
            $form.find('.quform-field-file-enhanced').each(function () {
                var $upload = $(this),
                    $wrapper = $upload.closest('.quform-upload-button');
 
                $upload.insertBefore($wrapper);
                $wrapper.remove();
            });
 
            $form.quform();
 
            if ($form.find('.quform-recaptcha').length && window.QuformRecaptchaLoaded) {
                window.QuformRecaptchaLoaded();
            }
        });
    });
});
jQuery(function ($) {
    $(document).on('elementor/popup/show', function (e, id) {
        $('.elementor-' + id).each(function () {
            var $form = $(this).find('.quform-form');

            $form.find('.quform-field-file-enhanced').each(function () {
                var $upload = $(this),
                    $wrapper = $upload.closest('.quform-upload-button');

                $upload.insertBefore($wrapper);
                $wrapper.remove();
            });

            $form.quform();

            if ($form.find('.quform-recaptcha').length && window.QuformRecaptchaLoaded) {
                window.QuformRecaptchaLoaded();
            }
        });
    });
});

Akeeba Backup Professional for WordPress

This plugin triggers an “Ajax error” when submitting the form because it is trying to declare a PHP class that already exists in WordPress (PHPMailer), causing a PHP Fatal error. A possible workaround is to go to Akeeba Backup – System Configuration – Email, and turn off the “Enable e-mail” option.

Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy