• Konstatninos

    (@skredlemon)


    Hi, I have three domains, all with the same configuration, and all three are experiencing the same issue, i.e. the form is slow on submit.

    The theme used in all three sites is the The7. Alongside CF7 there are running the following plugins (add-ons):

    • CF7 Google Sheet Connector v.4.9.2
    • Contact Form 7 Extension For Mailchimp v.0.5.61
    • Flamingo v.2.2.3
    • HandL UTM Grabber v.2.7.22
    • Honeypot for Contact Form 7 v.2.1
    • Redirection for Contact Form 7 v.2.6.0

    The Contact Form 7 plugin itself is on version 5.5.6

    On top of that, I have also the following two filters in the child theme’s functions.php file, to make sure that only legit phones are being submitted. Kindly note that the phone regex is a valid one, appropriately created for our locale.

    add_filter('wpcf7_validate_tel', 'custom_phone_validation', 20, 2);
    add_filter('wpcf7_validate_tel*', 'custom_phone_validation', 20, 2);
    
    function custom_phone_validation($result, $tag) {
        $type = $tag->type; 
        $name = $tag->name; 
    
        if($name == 'Telephone') {
            $value = $_POST[$name];
            if(!preg_match("/^(2)[0-9]{9}$|^(69)[0-9]{8}$/i", $value )){ 
                $result->invalidate($tag, "Invalid phone format.");
            }
        }
        return $result;
    }

    Upon the form submission, it takes anywhere from 6 to 15 seconds for the form to send the data to the appropriate email addresses according to the configuration, to Google Sheet, and to redirect to the thank-you page.

    Would you kindly assist us with this? We would like to make it complete these actions as much quicker as possible. Ideally it should take no more than 4-5 seconds tops.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter Konstatninos

    (@skredlemon)

    Themes:

    • the7-child (dt-the7-child) By Anonymous
    • Twenty Twenty-Two (twentytwentytwo)

    Plugins (active):

    • Asset CleanUp: Page Speed Booster Version 1.3.8.5 by Gabe Livan
    • CF7 Google Sheet Connector Version 4.9.2 by GSheetConnector
    • Contact Form 7 Version 5.5.6 by Takayuki Miyoshi
    • Contact Form 7 Extension For Mailchimp Version 0.5.61 by Renzo Johnson
    • Convert Plus Version 3.5.24 by Brainstorm Force
    • Enable SVG, WebP, and ICO Upload Version 1.0.1 by ideasToCode
    • EWWW Image Optimizer Version 6.4.2 by Exactly WWW
    • Flamingo Version 2.2.3 by Takayuki Miyoshi
    • GDPR Cookie Consent Version 2.1.1 by WebToffee
    • Google Tag Manager for WordPress Version 1.14.2 by Thomas Geiger
    • HandL UTM Grabber Version 2.7.22 by Haktan Suren
    • Head, Footer and Post Injections Version 3.2.2 by Stefano Lissa
    • Honeypot for Contact Form 7 Version 2.1 by Nocean
    • Popup Maker Version 1.16.4 by Popup Maker
    • Popup Maker – Exit Intent Popups Version 1.4.0 by WP Popup Maker
    • Redirection for Contact Form 7 Version 2.6.0 by Qube One
    • SEOPress Version 5.5.1 by SEOPress
    • SEOPress PRO Version 5.5 by SEOPress
    • Stop User Enumeration Version 1.4.4 by Fullworks
    • The7 Elements Version 2.5.8 by Dream-Theme
    • The7 WPBakery Page Builder Version 6.6.0.1 by Michael M – WPBakery.com
    • Ultimate Addons for WPBakery Page Builder Version 3.19.11 by Brainstorm Force
    • UpdraftPlus – Backup/Restore Version 1.22.11 by UpdraftPlus.Com, DavidAnderson
    • Wb Sticky Notes Version 1.0.8 by Web Builder 143
    • Website File Changes Monitor Version 1.8.1 by WP White Security
    • WP Activity Log Version 4.3.6 by WP White Security (Latest version: 4.4.0)

    Thanks!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme, deactivating all plugins excluding Contact Form 7 and Flamingo, and clearing all cache data.

    Why you are advised to deactivate plugins and switch to the default theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Form Slow to submit and redirect’ is closed to new replies.