I’m still seeing the defer-attrib on the CF7 JS;
<script type='text/javascript' defer='defer' src='https://septik-moscow.ru/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.1.1'></script>
Maybe double-check the exclusions and check the browser console for JS errors?
frank
I added the plugin to the exceptions again, defer was gone, but the form still does not work – https://yadi.sk/i/ESx6uLl93Wpi2g
OK, so what JS errors do you get in the browser console?
The error occurred due to the fact that did not work recaptcha?
https://yadi.sk/i/8izHrWnQS-wV4w
Removed the recaptcha and the form worked.
How to add recaptcha to exceptions?
hmm .. was recaptcha excluded from JS autoptimization?
Reсapcha is not added to exceptions, how can I do this? I can not find the script reсapcha through the console.
Added recaptcha to exceptions, sending earned.
Only if you turn on the jQuery Method, then after sending the form is closed, the pages are updated and no message about successful submission is displayed.
How can this be solved?
-
This reply was modified 6 years, 2 months ago by
sagamorr.
Only if you turn on the jQuery Method
you mean asyning or deferring jQuery? chances are you’ll have to leave jQuery as is (so not deferring or asyncing it).
Deferring. When I turn on asyning, then half the scripts stop working.
you’ll probably have to exclude jQuery and not async nor defer it @sagamorr .