Do you want to create AMP-friendly forms on your WordPress site?
Accelerated Mobile Pages (AMP) help speed up websites. However, AMP removes WordPress forms to improve the performance of your site.
In this article, we will show you how to create AMP forms in WordPress using WPForms (the easy way).
![How to create AMP forms in wordpress How to create AMP forms in wordpress](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/how-to-create-amp-forms-in-wordpress.png?resize=680%2C385&ssl=1)
Why Create an AMP Form in WordPress?
Accelerated Mobile Pages or AMP is a Google project that makes websites load faster on mobile devices.
While AMP offers a great mobile browsing experience by making your web pages load faster, it disables many useful features on your WordPress website.
One of them is contact forms. Since AMP uses a limited set of HTML and JavaScript, it can’t load your WordPress forms properly on AMP pages.
Alternatively, you could use one of the many responsive WordPress themes that offer excellent performance on desktop and mobile. This way, you don’t have to compromise on your website styling to deliver a superior experience on mobile.
However, if you are using AMP on your WordPress site, then you can use a plugin to show forms. Let’s see how to add an AMP form to your site.
Adding AMP Forms in WordPress (Step by Step)
The best way to create an AMP form is by using WPForms. It is the most beginner-friendly WordPress form plugin that helps you create AMP-ready WordPress forms.
Their team recently worked with Google to make AMP forms easy for WordPress.
Step 1: Install and Activate the WPForms Plugin
For this tutorial, we will use the WPForms Pro version because it offers more features, form templates, addons, and customization options. There is also a WPForms Lite version that you can use to get started for free.
Both the lite and pro version of WPForms allows you to create a basic AMP-ready contact form.
First, you will need to install and activate the WPForms plugin. If you need help, then please see our guide on how to install a WordPress plugin.
Step 2: Add AMP to Your WordPress Site
Before we create a form, it’s important that you have AMP set up on your WordPress site.
In order to use AMP with WordPress, you need to install and activate the official AMP plugin for WordPress. For more details, see our step-by-step guide on how to install a WordPress plugin.
Once activated, the plugin will automatically add Google AMP support for your WordPress site.
However, you can change AMP settings for your website by going to AMP » Settings from your dashboard.
![AMP for WordPress Settings Select AMP template mode](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/select-amp-template-mode.png?resize=680%2C374&ssl=1)
![AMP for WordPress Settings Select AMP template mode](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/select-amp-template-mode.png?resize=680%2C374&ssl=1)
![AMP for WordPress Settings Select AMP template mode](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/select-amp-template-mode.png?resize=680%2C374&ssl=1)
![AMP for WordPress Settings Select AMP template mode](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/select-amp-template-mode.png?resize=680%2C374&ssl=1)
From the AMP settings page, you can enable or disable AMP on your website, choose a website mode for AMP, and choose supported templates.
For more details, please see our guide on how to properly set up Google AMP on your WordPress site.
Once you have configured AMP, the next step is to create an AMP-compatible contact form on your WordPress site.
Step 3: Create a New AMP Form in WPForms
Simply head over to WPForms » Add New page to create a new WordPress form. WPForms is compatible with AMP by default, so you won’t need to turn on any special settings.
On the form setup screen, you can choose a form template and enter a name at the top. You can select the Blank Form if you want to start from scratch or use a prebuilt template to quickly edit it according to your needs.
![Form Templates WPForms Select simple form template](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/select-simple-form-template.png?resize=680%2C397&ssl=1)
![Form Templates WPForms Select simple form template](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/select-simple-form-template.png?resize=680%2C397&ssl=1)
![Form Templates WPForms Select simple form template](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/select-simple-form-template.png?resize=680%2C397&ssl=1)
![Form Templates WPForms Select simple form template](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/select-simple-form-template.png?resize=680%2C397&ssl=1)
For this tutorial, we will pick the ‘Simple Contact Form’ template.
Next, you will see the form builder page, where there are different options to customize your template.
![Drag and Drop Form Builder WPForms Customize your AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/customize-your-amp-form.png?resize=680%2C347&ssl=1)
![Drag and Drop Form Builder WPForms Customize your AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/customize-your-amp-form.png?resize=680%2C347&ssl=1)
![Drag and Drop Form Builder WPForms Customize your AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/customize-your-amp-form.png?resize=680%2C347&ssl=1)
![Drag and Drop Form Builder WPForms Customize your AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/customize-your-amp-form.png?resize=680%2C347&ssl=1)
From here, you can add or remove form fields. To add a new field to your form, you can simply click on a form field from the left panel and drag it onto the form template.
Note: The Modern Style Dropdown and Number Slider fields are not compatible with Google AMP. Instead, you will need to use the Number and Classic Style Dropdown fields.
After that, you can configure the field options. Simply click on a field, and then Field Options will appear on the left.
![Configuring Field Options in WPForms Plugin Edit form fields in AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/edit-form-fields-in-amp-form.png?resize=680%2C328&ssl=1)
![Configuring Field Options in WPForms Plugin Edit form fields in AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/edit-form-fields-in-amp-form.png?resize=680%2C328&ssl=1)
![Configuring Field Options in WPForms Plugin Edit form fields in AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/edit-form-fields-in-amp-form.png?resize=680%2C328&ssl=1)
![Configuring Field Options in WPForms Plugin Edit form fields in AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/edit-form-fields-in-amp-form.png?resize=680%2C328&ssl=1)
For instance, you can edit the label and format of a field, make it a required field, set up conditional logic, and more. Similarly, you can customize all the other fields.
After that, you can click on the ‘Settings’ tab to configure your form settings.
![WPForms General Settings General form settings for AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/general-form-settings-for-amp-form.png?resize=680%2C356&ssl=1)
![WPForms General Settings General form settings for AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/general-form-settings-for-amp-form.png?resize=680%2C356&ssl=1)
![WPForms General Settings General form settings for AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/general-form-settings-for-amp-form.png?resize=680%2C356&ssl=1)
![WPForms General Settings General form settings for AMP form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/general-form-settings-for-amp-form.png?resize=680%2C356&ssl=1)
The ‘General’ settings allow you to change your form name, submit button text, submit button processing text, and more.
Next, you can click on the ‘Notifications’ tab to set up email notifications to notify you when a user completes the form.
![WPForms Notification Settings AMP form notification settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/amp-form-notification-settings.png?resize=680%2C373&ssl=1)
![WPForms Notification Settings AMP form notification settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/amp-form-notification-settings.png?resize=680%2C373&ssl=1)
![WPForms Notification Settings AMP form notification settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/amp-form-notification-settings.png?resize=680%2C373&ssl=1)
![WPForms Notification Settings AMP form notification settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/amp-form-notification-settings.png?resize=680%2C373&ssl=1)
Next, you can click on the ‘Confirmation’ tab to set up a confirmation message to be shown when a user submits the form.
WPForms lets you show a message, show a page, or redirect users to a URL on form submission.
![WPForms Confirmation Message Settings AMP form confirmation settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/amp-form-confirmation-settings.png?resize=680%2C238&ssl=1)
![WPForms Confirmation Message Settings AMP form confirmation settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/amp-form-confirmation-settings.png?resize=680%2C238&ssl=1)
![WPForms Confirmation Message Settings AMP form confirmation settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/amp-form-confirmation-settings.png?resize=680%2C238&ssl=1)
![WPForms Confirmation Message Settings AMP form confirmation settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/amp-form-confirmation-settings.png?resize=680%2C238&ssl=1)
After the configuration is complete, you can save your form.
Step 4: Add Your AMP Form to a Page
Now that your WordPress form is ready, you can add it to a page.
In the WPForms form builder, you will see an ‘Embed’ button at the top. Simply click on it to add your form to a new page or an existing one.
![Save and embed your form Save and embed your form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2018/05/save-and-embed-your-form.png?resize=680%2C237&ssl=1)
![Save and embed your form Save and embed your form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2018/05/save-and-embed-your-form.png?resize=680%2C237&ssl=1)
![Save and embed your form Save and embed your form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2018/05/save-and-embed-your-form.png?resize=680%2C237&ssl=1)
![Save and embed your form Save and embed your form](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2018/05/save-and-embed-your-form.png?resize=680%2C237&ssl=1)
Next, a popup window will open, asking you to create a new page or choose an existing page.
We will select the ‘Create New Page’ option for this tutorial.
![Embed a form in page Embed a form in page](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2022/08/emebd-a-form-in-page.png?resize=680%2C323&ssl=1)
![Embed a form in page Embed a form in page](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2022/08/emebd-a-form-in-page.png?resize=680%2C323&ssl=1)
![Embed a form in page Embed a form in page](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2022/08/emebd-a-form-in-page.png?resize=680%2C323&ssl=1)
![Embed a form in page Embed a form in page](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2022/08/emebd-a-form-in-page.png?resize=680%2C323&ssl=1)
Next, you will need to enter a name for your new form page.
Once that’s done, simply click the ‘Let’s Go’ button.
![Enter a name for new login page Enter a name for new AMP page](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2022/08/enter-a-name-for-new-login-page.png?resize=680%2C276&ssl=1)
![Enter a name for new login page Enter a name for new AMP page](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2022/08/enter-a-name-for-new-login-page.png?resize=680%2C276&ssl=1)
![Enter a name for new login page Enter a name for new AMP page](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2022/08/enter-a-name-for-new-login-page.png?resize=680%2C276&ssl=1)
![Enter a name for new login page Enter a name for new AMP page](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2022/08/enter-a-name-for-new-login-page.png?resize=680%2C276&ssl=1)
From here, you will see a preview of your AMP form in the content editor.
Alternatively, you can also use the WPForms block to add the form in the content editor. Simply select your AMP form from the dropdown menu.
![Add the WPForms block Add the WPForms block](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2023/06/add-wpforms-block-.png?resize=680%2C360&ssl=1)
![Add the WPForms block Add the WPForms block](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2023/06/add-wpforms-block-.png?resize=680%2C360&ssl=1)
![Add the WPForms block Add the WPForms block](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2023/06/add-wpforms-block-.png?resize=680%2C360&ssl=1)
![Add the WPForms block Add the WPForms block](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2023/06/add-wpforms-block-.png?resize=680%2C360&ssl=1)
Next, you can publish or update your page.
That’s all! You don’t need to configure anything else. The WPForms plugin will add full AMP support to your form now.
If you want to see how it looks, then you can open the page on your mobile phone. Or you can open the page on your desktop browser by adding /amp/ or /?amp at the end of your page URL, like this:
https://www.example.com/contact/?amp
Adding Google reCAPTCHA to Your AMP Form
By default, WPForms includes anti-spam settings to 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 site for Google reCAPTCHA v3 and get the Google API keys.
First, you will need to go to the Google reCAPTCHA website and click on the ‘v3 Admin Console’ button at the top right corner of the page.
![Visit Google reCAPTCHA website View captcha admin console](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/view-captcha-admin-console.png?resize=680%2C336&ssl=1)
![Visit Google reCAPTCHA website View captcha admin console](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/view-captcha-admin-console.png?resize=680%2C336&ssl=1)
![Visit Google reCAPTCHA website View captcha admin console](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/view-captcha-admin-console.png?resize=680%2C336&ssl=1)
![Visit Google reCAPTCHA website View captcha admin console](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/view-captcha-admin-console.png?resize=680%2C336&ssl=1)
After that, you need to sign in with your Google account. Once done, you will see the ‘Register a new site’ page.
Next, you need to enter your website name in the Label field. Google AMP only supports reCAPTCHA v3, so you must choose the ‘Score based (v3)’ reCAPTCHA type option.
![Register a New Site for Google reCAPTCHA Select v3 captcha version](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/select-v3-captcha-version.png?resize=680%2C355&ssl=1)
![Register a New Site for Google reCAPTCHA Select v3 captcha version](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/select-v3-captcha-version.png?resize=680%2C355&ssl=1)
![Register a New Site for Google reCAPTCHA Select v3 captcha version](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/select-v3-captcha-version.png?resize=680%2C355&ssl=1)
![Register a New Site for Google reCAPTCHA Select v3 captcha version](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/select-v3-captcha-version.png?resize=680%2C355&ssl=1)
After that, enter your domain name (without https://www.) into the Domains field.
Next, click the ‘Submit’ button.
![Add Domain Name and Owner for Google reCAPTCHA Enter domain for captcha](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/enter-domain-for-captcha.png?resize=680%2C305&ssl=1)
![Add Domain Name and Owner for Google reCAPTCHA Enter domain for captcha](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/enter-domain-for-captcha.png?resize=680%2C305&ssl=1)
![Add Domain Name and Owner for Google reCAPTCHA Enter domain for captcha](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/enter-domain-for-captcha.png?resize=680%2C305&ssl=1)
![Add Domain Name and Owner for Google reCAPTCHA Enter domain for captcha](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/enter-domain-for-captcha.png?resize=680%2C305&ssl=1)
Next, you will see a success message along with the site key and the secret key to add reCAPTCHA to your site.
Simply copy these keys.
![reCAPTCHA Keys Copy site and secret key](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/copy-site-and-secret-key.png?resize=680%2C364&ssl=1)
![reCAPTCHA Keys Copy site and secret key](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/copy-site-and-secret-key.png?resize=680%2C364&ssl=1)
![reCAPTCHA Keys Copy site and secret key](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/copy-site-and-secret-key.png?resize=680%2C364&ssl=1)
![reCAPTCHA Keys Copy site and secret key](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/10/copy-site-and-secret-key.png?resize=680%2C364&ssl=1)
Now, you have the Google API keys to add reCAPTCHA to your forms. However, there is one more setting required to ensure AMP compatibility with the reCATCHA.
First, you will need to click on the ‘Go to Settings’ link.
Next, you will see the reCAPTCHA settings again with the ‘Allow this key to work with AMP pages’ checkbox. Simply check the box and click on the ‘Save’ button below.
![Allow reCAPTCHA to work on AMP Pages Enable option for keys to work with AMP](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enable-option-for-keys-to-work-with-amp.png?resize=680%2C309&ssl=1)
![Allow reCAPTCHA to work on AMP Pages Enable option for keys to work with AMP](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enable-option-for-keys-to-work-with-amp.png?resize=680%2C309&ssl=1)
![Allow reCAPTCHA to work on AMP Pages Enable option for keys to work with AMP](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enable-option-for-keys-to-work-with-amp.png?resize=680%2C309&ssl=1)
![Allow reCAPTCHA to work on AMP Pages Enable option for keys to work with AMP](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enable-option-for-keys-to-work-with-amp.png?resize=680%2C309&ssl=1)
Now that you have Google API keys to add reCAPTCHA on AMP forms, you need to enter them in WPForms.
You can open the WPForms » Settings » CAPTCHA page in your WordPress dashboard.
![WPForms reCAPTCHA Settings WordPress Go to WPForms captcha settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/go-to-wpforms-captcha-settings.png?resize=680%2C347&ssl=1)
![WPForms reCAPTCHA Settings WordPress Go to WPForms captcha settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/go-to-wpforms-captcha-settings.png?resize=680%2C347&ssl=1)
![WPForms reCAPTCHA Settings WordPress Go to WPForms captcha settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/go-to-wpforms-captcha-settings.png?resize=680%2C347&ssl=1)
![WPForms reCAPTCHA Settings WordPress Go to WPForms captcha settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/go-to-wpforms-captcha-settings.png?resize=680%2C347&ssl=1)
Next, you can scroll down and choose the ‘reCAPTCHA v3’ option.
After that, simply paste the site key and secret key. When you are done, just click on the ‘Save Settings’ button.
![Enter captcha keys and type Enter captcha keys and type](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enter-captcha-keys-and-type.png?resize=680%2C383&ssl=1)
![Enter captcha keys and type Enter captcha keys and type](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enter-captcha-keys-and-type.png?resize=680%2C383&ssl=1)
![Enter captcha keys and type Enter captcha keys and type](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enter-captcha-keys-and-type.png?resize=680%2C383&ssl=1)
![Enter captcha keys and type Enter captcha keys and type](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enter-captcha-keys-and-type.png?resize=680%2C383&ssl=1)
Now that Google reCAPTCHA is added to WPForms, you can enable it in your forms where needed.
Go to WPForms » All Forms and select the form where you want to enable the reCAPTCHA. Simply click the ‘Edit’ button under the form name.
![Edit a Form Created with WPForms Edit your contact form settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/edit-your-contact-form-settings.png?resize=680%2C337&ssl=1)
![Edit a Form Created with WPForms Edit your contact form settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/edit-your-contact-form-settings.png?resize=680%2C337&ssl=1)
![Edit a Form Created with WPForms Edit your contact form settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/edit-your-contact-form-settings.png?resize=680%2C337&ssl=1)
![Edit a Form Created with WPForms Edit your contact form settings](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/edit-your-contact-form-settings.png?resize=680%2C337&ssl=1)
Once the form setup screen appears, click on the ‘Settings’ tab and select the ‘Spam Protection and Security’ tab.
From here, simply enable the Google v3 reCAPTCHA option.
![Enable Google v3 reCAPTCHA in WPForms Enable google v3 option in WPForms](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enable-google-v3-option-in-wpforms.png?resize=680%2C309&ssl=1)
![Enable Google v3 reCAPTCHA in WPForms Enable google v3 option in WPForms](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enable-google-v3-option-in-wpforms.png?resize=680%2C309&ssl=1)
![Enable Google v3 reCAPTCHA in WPForms Enable google v3 option in WPForms](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enable-google-v3-option-in-wpforms.png?resize=680%2C309&ssl=1)
![Enable Google v3 reCAPTCHA in WPForms Enable google v3 option in WPForms](https://i0.wp.com/www.wpbeginner.com/wp-content/uploads/2019/07/enable-google-v3-option-in-wpforms.png?resize=680%2C309&ssl=1)
Once that’s done, save your form by clicking on the ‘Save’ button in the top right corner.
After that, you can revisit your contact page and see the AMP form with reCAPTCHA in action.
We hope this article helped you to learn how to create AMP forms in WordPress easily. You may also want to see our guide on how to create GDPR-compliant forms in WordPress and the best drag-and-drop page builder for WordPress.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Source: WPBeginner