How to Create a Simple Contact Form in WordPress Step-by-Step
Do you want to create a contact form on your blog or website?
Contact forms offer the easiest way for website visitors and potential customers to get in touch, so adding one to your WordPress site makes good business sense. Since WordPress doesn’t come bundled with a contact form by default, you might think creating one is fairly hard. The truth is, with the right tools, it’s pretty easy.
In this step-by-step guide, we’ll show you how to create a simple contact form in WordPress, so even non-techy users can build one, no coding required.
- Step 1: Choose the Best Contact Form Plugin
- Step 2: Install Your WordPress Contact Form Plugin
- Step 3: Create a Contact Form In WordPress
- Step 4: Set Up Form Notifications
- Step 5: Configure Form Confirmations
- Step 6: Embed Your Contact Form in a Contact Page
- Step 7: Add Your WordPress Contact Form in a Sidebar
Before we dive in, let’s explore why your WordPress website needs a contact form.
Why You Need a Contact Form for WordPress
It’s easy to say to yourself, “Why do I need a contact form? Surely I could make my email address visible and let people contact me that way?”
Sure, you could do that.
But you’d get inundated with spam mail as a result. Spam bots regularly scour websites for the mailto: email address tag, so if your email is out there in the open, you can expect to receive a ton of unwanted emails.
Your email isn’t visible with a contact form, and you can use the anti-spam measures included with most contact form builders to avoid unsolicited mail.
Furthermore, when emailing, people don’t always send the information you need, making it harder to answer questions and offer a solution. A contact form lets you tell people exactly what you need, such as their phone number, customer account number, and more.
Not only does that save you time hunting down the correct details, but it also gives you the ability to solve problems faster, offering a memorable customer experience.
How to Create a Contact Form in WordPress
Here’s an example of the type of simple contact form we’ll make today:
We’ll also show you how to add your form to your contact page and website sidebar.
But before that, you’ll need to choose a contact form plugin to make creating your form easier. Follow the steps below to get started.
Step 1: Choose the Best Contact Form Plugin
There’s a variety of free and paid contact form plugins available for WordPress. So, choosing one that fits your business needs is a challenge. For this tutorial, we’ll use the best form builder plugin on the market, WPForms.
Here are just a few reasons why we think WPForms is the best WordPress contact form plugin:
- Beginner Friendly – WPForms is the most beginner-friendly form plugin around. The drag and drop form builder is easy to use and lets you create any type of form with just a few clicks, no code required.
- Extensive Features – Build smarter forms with form templates, conditional logic, surveys, multi-step forms, etc. to get the right information needed to serve your customers better.
- Tried and Tested – Over 3 million websites use WPForms to power their contact forms, and thousands of users have given the plugin 5-star ratings, demonstrating the positive impact it’s made.
You can check out our in-depth WPForms review here.
Now that you know which contact form plugin to use, it’s time to install and activate it on your WordPress website.
Step 2: Install Your WordPress Contact Form Plugin
Click here to get started with WPForms and download the plugin to your computer. Then go ahead and upload the plugin to your website.
If you need help with this step, see this step-by-step guide to install a WordPress plugin. Once you’ve done that, move on to the next step.
Step 3: Create a Contact Form In WordPress
Now that WPForms is activated on your website, it’s time to create your first contact form.
From your WordPress dashboard, click the WPForms menu in the left-hand panel, and click Add New.
This opens the WPForms form builder with a range of form templates to choose from. Start by giving your new form a name. This can be anything that helps you identify it easily in WordPress.
Now hover your mouse over the Simple Contact Form template and click the button labeled “Create a Simple Contact Form.” This will open the template in the form builder for you to customize.
The Simple Contact Form template automatically fills your form with all the fields you’re likely to need, including the first and last name fields, email address field, and message field.
You can easily rearrange the fields by clicking, dragging, and dropping them to a different place. It’s also possible to add extra fields to your form by selecting one from the left-hand panel and dragging it over to your form on the right.
When you’re happy with how your form looks, click the Save button in the top-right corner of your screen.
Step 4: Set Up Form Notifications
Now that you’ve created your contact form, you need to configure your form notifications. To do that, navigate to Settings » Notifications.
Form notifications are emails you’ll receive when someone fills and submits your contact form. The default notification settings have email notifications turned on. So if you don’t want to get an email every time someone submits a form, choose Off from the dropdown menu.
You can also customize the information included in email notifications here with smart tags. However, for a simple contact form, the default tags are just what you need. See the WPForms documentation to learn more about smart tags.
With your notifications configured, click Save and move on to the next step.
Step 5: Configure Form Confirmations
For this step, we’ll look at your contact form confirmation messages. These are what users will see immediately after submitting a form on your website. You can find the confirmations section by clicking Settings » Confirmations.
The default confirmation users will see upon submitting your contact form is the Message confirmation type. WPForms comes with a simple confirmation message ready to go. However, you can easily customize it by writing your own message in the text editor provided.
Besides the Message confirmation type, you can select two other types from the dropdown menu, which are Show Page, and Go to URL (Redirect).
The Show Page confirmation type shows users a specific page on your website after submitting a form.
With the Go to URL (Redirect) option, you can send users to a page on a different website when the form is completed.
After choosing a confirmation type, click Save. You’ve now successfully created a contact form in WordPress.
Now it’s time to publish it! Keep reading to learn the 2 key ways to add your contact form to your WordPress website.
Step 6: Embed Your Contact Form in a Contact Page
The first method we’ll use to publish your contact form is to add it to a new WordPress page. If you already have a contact page, you can just edit the page instead.
To create a new page in WordPress, navigate to Pages » Add New. We’ll use the WPForms WordPress block for this step.
To add the WPForms block to your page, click the plus (+) icon in the top menu and scroll down to the Widgets section.
Then find the WPForms WordPress block and click it to add it to the page editor.
The WPForms block will now appear on the page. Click the dropdown menu and select the contact form you created earlier.
Your contact form will now appear on your page with a preview of how it looks.
Now you can save or publish your page. Here’s what the form would look like on a contact page after publishing.
Step 7: Add Your WordPress Contact Form in a Sidebar
Another way to publish your contact form in WordPress is to add it to your website’s sidebar area. WPForms comes with a handy WordPress widget so you can add your contact form to any widget-ready area of your WordPress theme.
From your WordPress admin area, navigate to Appearance » Widgets. On this page, you’ll see all the widgets you can add to your WordPress sidebar areas.
Look for the WPForms widget and drag it over to your desired sidebar. We’ll add our widget to the right sidebar area.
Now give your widget a title and choose your contact form from the dropdown menu. Remember to click Save to preserve your widget settings.
When you navigate to the front of your website, you’ll see your contact form in your chosen sidebar.
You now know how to create a simple contact form in WordPress. We hope this article covered everything you needed to know.
You might also want to check out the other best WordPress plugins to use on your website.