Error with Contact Form 7 (reload page after submit form)
-
Hello,
I have a problem with a site where I have the Contact Form 7 plugin being used.
When submitting the form, the page reloads instead of submitting via Ajax.
I noticed that the /contact-form-7/includes/js/scripts.js script is not loaded.
I am also using the Async JavaScript plugin.
I’ve tried several ways to make it load, but only load if the user is logged in.
I Tried:
– Include /contact-form-7/includes/js/scripts.js in “Exclude scripts from Autoptimize”;
– Include /contact-form-7/includes/js/scripts.js in “Script Exclusion” (Async JavaScript);
– Include plugins / contact-form-7 / in “Exclude scripts from Autoptimize”;
– Include plugins / contact-form-7 / in “Script Exclusion” (Async JavaScript);
– Include a direct call with the <script> tag in the theme footer;Even so, it is not deleting this script and does not load Ajax correctly.
The error started appearing after I made the following updates:
Autoptimize version old 1.15.2 installed. Update to 1.17.1
Async JavaScript version old 2.18.12.10 installed. Update to 2.19.07.14
CF7 version old 5.1.3 installed. Update to 5.1.4Can you help me with this?
The page I need help with: [log in to see the link]
- The topic ‘Error with Contact Form 7 (reload page after submit form)’ is closed to new replies.