Alternatively, you can use the WPForms block to add the form in the content editor. Just select your AMP form from the dropdown menu.
Add the WPForms block
You can then publish or update your page.
That's it! You don't need to configure anything else. The WPForms plugin will now add full AMP support to your form.
If you want to see what it looks like, you can open the page on your mobile. Or you can open the page in your desktop browser by adding /amp/ or /?amp to the end of your page's URL, like this:
https://www.example.com/contact/?amp
Adding Google reCAPTCHA to your AMP form
By default, WPForms includes anti-spam settings to list of new zealand cell phone number catch and block spam. Additionally, you can use Google reCAPTCHA to reduce spam submissions.
To use Google reCAPTCHA with your AMP forms, you need to register your website for Google reCAPTCHA v3 and get the Google API keys.
First, you need to go to the Google reCAPTCHA website and click on the “v3 Admin Console” button in the top right corner of the page.
View captcha admin console
After that, you need to log in with your Google account. After that, you will see the “Register a new website” page.
Next, you need to enter your website name in the Label field. Google AMP only supports reCAPTCHA v3, so you need to choose the “Score based (v3)” option for the reCAPTCHA type.
You can then click the Confirmation tab to set up a confirmation message that will appear when a user submits the form
-
- Posts: 1096
- Joined: Sat Dec 21, 2024 11:34 am