Hi,
suddenly a contact form no longer works on our website. The emails are not sent.
https://www.radiologie-nu.de/rizzi/
Best regards Thomas
Hi,
suddenly a contact form no longer works on our website. The emails are not sent.
https://www.radiologie-nu.de/rizzi/
Best regards Thomas
Hi,
I found the problem, but I can’t do anything with it. It is completely crazy. I have now posted 2 sample pages for you.
https://www.radiologie-nu.de/rizzi/
The contact form does not work on this page.
https://www.radiologie-nu.de/rizzi2/
On this page I inserted the contact form directly under the “Content Area of Canvas” element. Then the contact form works.
Best regards Thomas
Hello Thomas,
Firstly, I would like to mention that Contact Form 7 is a third party plugin and we cannot provide and support or troubleshoot any issues that comes with it so it would be best to get in touch with the developer for this.
However, the difference that I see from the two pages is that:
https://www.radiologie-nu.de/rizzi2/ the form on this page works with AJAX submit and has the checkbox field required.
https://www.radiologie-nu.de/rizzi/ as for this page, the form does not have the AJAX submit option active so when you submit the form, it loads the page.
It might be work double-checking that the AJAX option is enabled in both forms.
Hope this helps.
Hi,
even if I delete the AJAX submit and take a standard form it doesn’t work. If I embed a contact form directly underneath like on rizzi2, it works.
Thomas
Hello Thomas,
Have you resolved your issue already? I have checked both the pages, rizzi and rizzi2. They are no longer accessible. You must have deleted or set the pages as private. If you are still experiencing some issues, please double check your form, make sure that everything is correct. For further assistance, please ask from the developer of the plugin here:
Thank you for your understanding.
Yes, I’m frustrated. I deleted the pages. I couldn’t do anything with the first answer.
Thomas
Hi Thomas,
I’m not sure if I follow. I wonder if you manage to fix the problem? If yes then we are happy that you manage to do that.
If no would you please try troubleshooting steps below:
Thank you.
Thank you…
You’re welcome, Thomas.
I have built the shortcode in the WordPress Block Editor. Works…
if I use the shortcode in content area modal or
Install content area off canvas it does not work. I don’t think contact form 7 is causing the error.
Best regards Thomas
contact form 7 works with a different theme …
Thomas
Hey Thomas,
Your form would surely work in a different theme because it works even in our theme when you post the form in a regular page. The conflict, as you said, is in the Content Area Off Canvas and Content Area Modal so the switch to different theme test is not applicable if you’re using Pro.
I tested Contact Form 7 and the Content Area Off Canvas and Content Area Modal in my test site and the forms submits successfully. This means there is no bug with the regular setup.
There might be something specific with your setup that is conflicting with the Content Area Modal and Off Canvas. Please be sure to test for a plugin conflict and switch to the parent theme to ensure this is not an issue with Pro parent first. If you’re not sure how to do that, you can learn here: https://theme.co/docs/common-issues
Only if the issue persists, give us the following details in a Secure Note so we could check your setup.
You can find the Secure Note button at the bottom of your posts.
I dont get any further. I have sent you the access data. I need help.
Thank you very much Thomas
Hello @riwaro,
I have logged in and tested your test contact form. I’ve temporarily changed the email address so that I can easily see if the email goes through or not. And here’s my result:
Contact Form 7 shortcode in a content area modal:
The reply after submission:
The confirmation email I recieved:
I think you have an issue with your email address. Please check out the email address which receives the email. There might be some issues with your email server or that the email account inbox is already full.
Kindly let us know how it goes.
Hi,
which contact form did you use?
sorry, but you didn’t understand the problem at all. The problem is definitely not the email address.
If you use the contact forms on / rizzi2 /, both contact forms really work. The sortcode and content area off canvas. It’s crazy. Content Area Off Canvas only works because the shortcode is on the page.
The shortcode is not included on / rizzi /. Content Area Off Canvas and Content Area Modal are integrated on this page. No contact form works on this page. After trying to send an email, this address appears in the address bar: / rizzi / # wpcf7-f5796-o2.
It cannot be the email address, since you can send to / rizzi2 / without any problems.
I hope you understand the problem now.
Best regards Thomas
Hello Thomas,
I can confirm the issue on rizzi page. I did some search and found that this is Contact Form 7 conflict with Modals. See this search results.
As you can see here it is a confirm issue with another theme popup elements. At this point it would be best to consult the plugin developer as we don’t have control over the functionality of the form shortcode. Thank you for understanding.
Hi,
I can not understand your answer. We use contact form 7 on about 150 pages with templates from you. The form is integrated in Area Off Canvas or Content Area Modal on all pages. It works everywhere.
We’ll look around for other templates …
Thanks a lot
Best regards Thomas
You are most welcome!
Hi,
I found the mistake. This code was in function.php:
function cf7_dequeue_scripts () {
$ load_scripts = false;
if (is_singular ()) {
$ post = get_post ();
if (has_shortcode ($ post-> post_content, ‘contact-form-7’)) {
$ load_scripts = true;
}
}
if (! $ load_scripts) {
wp_dequeue_script (‘contact-form-7’);
wp_dequeue_script (‘google-recaptcha’);
wp_dequeue_style (‘contact-form-7’);
}
}
add_action (‘wp_enqueue_scripts’, ‘cf7_dequeue_scripts’, 99);
The code blocked shipping.
Of course, contact form 7 works with Area Off Canvas or Content Area Modal …
Best regards Thomas