We are finally here π
To create a contact form using the WP Forms plugin, go to:
Admin dashboard -> WP Forms -> Add new
This will take us to the “Create New Form” screen:
We need to use the “Name Your Form” option for this.
We should enter a descriptive name here to help us recognize this form later.
So, let’s go with the “Contact Form” for the name.
By default, the WPForms plugin ships with a ton of time-saving templates.
The purpose of these templates is to help you build your form with little to no work at all.
For example, there is a template called “Simple Contact Form”.
If you select this template, WPForms will automatically add the following fields to the contact form:
This will save us some time because we don’t have to add these standard fields manually to the form.
But for this course, let’s create a contact form from scratch using the “Blank Form” template.
This will help you create any form in the future.
So, put your mouse cursor over the “Blank Form” template and click the “Create Blank Form” button.
This will take us to the form builder that is specific to the “Contact form” we are building.
Woah! A lot is going on here!
Let’s break it down.
It contains:
The “Settings” menu on the left will help us configure the form’s notifications, error messages, etc.
It is divided into two tabs:
Also, if you notice, the “Add Fields” section is further divided into three sub-sections:
As a free user, we can only use the fields inside the “Standard Fields” section.
Most of the time, these standard fields are enough to create any typical form.
Having said that, sometimes we need fancy fields that let the user upload complex information to us.
But for using the fancy fields, we need to purchase a premium version of the WPForms plugin.
Anyway, the last part of the form builder is…
This “Form” section will contain the input fields we added to the form.
And it helps us with the following:
Here are the fields I want to add to my contact form:
Feel free to add other fields based on your requirement.
Anyway, adding these fields to the form is pretty straightforward.
First, make sure the “Add Fields” tab is selected inside the “Fields” section.
And then, click on the necessary field buttons to add them to the form.
For example, to add the “Name” field to your contact form, click on the “Name” button.
Similarly, add the “Email” field for collecting the user email.
And for the “How can I help” input, we have to use the “Paragraph Text” field.
The “Paragraph Text” field is a generic field that will help us put a big text area inside the form.
We can use this “Paragraph Text” field to gather text information from the user.
If you notice, there is another generic field called “Single Line Text”.
It is similar to the “Paragraph Text” but outputs a smaller text area.
We can use this field to collect small pieces of text information from the user, such as:
Anyway, here is what my form looks like after adding the fields to it:
It looks nice, but there are three problems:
And we will fix these problems in the next lesson.