Viewing 14 replies - 1 through 14 (of 14 total)
  • Thanks for reaching out. It looks like the contact page on your website is using WP Forms, which is AMP compatible. From checking the form response it may be a case whereby your WordFence configurations are impacting your form submissions.

    Can you check whether the same occurs if you temporarily deactivate WordFence? If not then please activate WordFence once more while we check for any possible configurations impacting your form submissions.

    Thread Starter mbeerli

    (@mbeerli)

    It is not WordFence, just disabled the plugin and tested. The email arrives but the button “Sending” is not changing. If I disable AMP, the Sending button changes. So for sure AMP with WP Forms. Did you see also the other post, some have already reported it, I am not the only one.

    Thanks for performing the above check. Although form is sent and you received an email confirmation from checking Chromes developer tools WordFence is impacting the form response and returning a 503 error, as opposed to the expected json response with the successful submission notification.

    With that can you temporarily deactivate WordFence once more and inform me once this is done?

    Did you see also the other post, some have already reported it, I am not the only one.

    I’ve checked the other post you shared and this was an older post on the WP Forms plugin forum. While I don’t think these are related we can perform additional checks after you let us know once WordFence is temporarily deactivated.

    Thread Starter mbeerli

    (@mbeerli)

    To disable WF we need to time it. I can do a 15min window. You can send me a test msg on above link with the time. How about tomorrow some time, close to your prev. post time?

    Good idea! Let’s do 10am GMT, which is similar to the time of my initial response?

    An alternative to temporarily deactivating WordFence or troubleshooting your configurations is to use the Health Check & Troubleshooting plugin, while enabling only AMP and WP Forms in this mode. You’ll find out more on how to use this plugin in AMP by following the steps on our website.

    Hi @mbeerli,

    I’m on your site now and it looks like WordFence remains connected, with the same errors evident when trying to submit the form. Can you inform me once you have WordFence temporarily deactivated and I’ll check once more?

    Thread Starter mbeerli

    (@mbeerli)

    Looks like you were an hour early.
    Try now for another 35min

    Thanks for performing this check. I’m encountering the same despite WordFence temporarily deactivated. Please allow me some time to check this with the team, I’ve collected some information on this.

    In the meantime what you can do to ensure the form works as expected is to disable AMP on this specific page using the sidebar settings. I’ll report back to you here once I have an update. Feel free to also reactivate WordFence once more.

    Thanks for your patience on this. As we haven’t yet determined the cause can you please share your Site Health information using our escalations form and we can check your current environment and try to recreate this on our side.

    When checking your site earlier we also encountered some additional errors using your search form. Once we review your setup we can perform additional checks, including applying WordFence query parameters exceptions for __amp_source_origin, and _s for your search form with AMP.

    Thread Starter mbeerli

    (@mbeerli)

    Submitted

    Thanks for sharing. From inspecting your setup I don’t see anything that might be impacting the form behavior. With that can you apply the below exceptions within your WordFence configurations (WordFence > All Options > Allowlisted URLs):

    – for your forms: __amp_source_origin
    – for search: _s
    – for category dropdowns: cat

    You’ll see an example below:

    After doing do please clear your cache with WP Fastest Cache and check once more.

    Thread Starter mbeerli

    (@mbeerli)

    I added the 3 exceptions. But on the contacts page I can not enable AMP. It does not validate. I enabled on WPForms light the reCAPTCHA.
    Well email works with or without the 3 exceptions. I can not have AMP enabled on the contacts page. Is that a problem?

    Thanks for checking. It’s not an issue to leave the contact page set to non AMP. Some users choose to disable AMP on particular posts or pages for various reasons.

    If you do wish to activate AMP for your contact page and the toggle isn’t working feel free to open a separate support topic as this seems separate to the contact form not showing the successful submission notice. Please include any console errors shown or further details and we’d be happy to assist.

    I enabled on WPForms light the reCAPTCHA.

    This may also be something worth checking if you do manage to make your contact page AMP enabled once more. I would also suggest opening a WordFence support topic in relation to the form not displaying the submission notice on AMP URLs, there may be additional configurations impacting the processing of this form.

    @mbeerli As we haven’t received a response, I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Contact Form not working with AMP’ is closed to new replies.