How To Add A Contact Form To WordPress

Contact forms allow visitors, users, and potential prospects to contact you. Learn how to add a contact form to WordPress in this tutorial.

How To Add A Contact Form To WordPressAdding a contact form to your site allows visitors and prospective new customers to contact you if they have questions, concerns or problems.

A contact form also encourages more visitor interaction on your site, builds trust, and allows you to generate new leads and inquiries for your products and services.

***

How To Add A Contact Form To WordPress

In this tutorial, we show you how to add a contact form to WordPress using a FREE WordPress plugin called Fast Secure Contact Form.

Fast Secure Contact Form Plugin

Fast Secure Contact Form

(Fast Secure Contact Form)

Plugin URL

https://wordpress.org/plugins/si-contact-form/

Plugin Description

This plugin allows you to easily create and add contact forms to WordPress. The contact form will let your site visitors email you and even send a meeting request to talk with you over phone or video.

You can create and preview unlimited forms with this plugin …

How To Install And Use A Contact Form Plugin

The Fast Secure Contact Form plugin also includes CAPTCHA and Akismet support to block all common spammer tactics …

How To Install And Use A Contact Form Plugin

Plugin Installation

From your WP admin area, select Plugins > Add New

How To Install And Use A Contact Form Plugin

Select the Install Plugins > Search tab, then type in “fast secure contact form” into the search field and click on the Search Plugins button …

How To Install And Use A Contact Form Plugin

The plugin you are looking for was developed by Mike Challis. Locate the plugin in the search results area and click Install Now

How To Install And Use A Contact Form Plugin

Once the plugin has been installed, make sure you activate it …

How To Install And Use A Contact Form Plugin

After the plugin has been activated, click on Settings

How To Install And Use A Contact Form Plugin

You can also get to the plugin’s settings screen by selecting Plugins > FS Contact Form from your dashboard menu …

How To Install And Use A Contact Form Plugin

This brings you to the Fast Secure Contact Form Settings page …

How To Install And Use A Contact Form Plugin

Plugin Configuration

Info

This tutorial focuses on showing you how to set up a contact form on your WordPress site using a plugin. It is not meant to provide a detailed user manual covering every aspect of the Fast Secure Contact Form plugin used in this tutorial.

For detailed documentation on the Fast Secure Contact Form plugin, go here:

Although Fast Secure Contact Form provides many configurable options, you can easily create a simple, working contact form very quickly by following the steps below:

First, create a new page and call it something like “Contact Us” (or ”Support”, etc.) …

How To Install And Use A Contact Form Plugin

Leave the content section blank for now and publish your page …

How To Install And Use A Contact Form Plugin

We’ll come back to this page after configuring your contact form settings.

Choose Plugins > FS Contact Form on your WP admin menu to go back to your plugin settings …

How To Install And Use A Contact Form Plugin

Now, let’s start configuring your contact form settings.

Tip

Tip: You can preview how your contact form looks any time after saving your changes, by clicking on the ‘Preview Form’ button at the top of the settings page (make sure the correct form is displayed in the ‘Select a Form:’ drop-down menu) …

How To Install And Use A Contact Form Plugin

A preview of your contact form will display inline, so you can see what you have configured so far …

How To Install And Use A Contact Form Plugin

To return to the screen you were previously working on, click on Edit Form

How To Install And Use A Contact Form Plugin

Let’s configure your form settings now …

Basic Settings > Basic Settings

In the ‘Basic Settings’ section, note the following:

How To Install And Use A Contact Form Plugin

  1. Shortcode for this form: This is the shortcode that you will need to insert into your ‘Contact’ page (or anywhere else in your site where you want this contact form to display).
  2. Form 1 label: Enter a name for your form here. This is not visible to users, it just helps you keep track of what you are using the form for. You can also include this label in the subject line of your contact form submissions (see section below).
  3. Welcome introduction: Type in here any text that you want displayed before the form (i.e. a message to visitors, instructions, expected response times, etc.). You can use HTML to format your message. ***
  4. Help – Click on the ‘help’ links if you need help with any of the configuration settings.
  5. Save Changes – Click on the ‘Save Changes’ button as you configure the settings for each tab and remember to save as you go.

*** Here is an example of a Welcome introduction message containing text formatted with some simple HTML tags (line breaks, bold, italics and underlines) …

How To Install And Use A Contact Form Plugin

When the above is published, your form will look like this …

How To Install And Use A Contact Form Plugin

Basic Settings > Email Settings

In the Email Settings section, all you need to do is confirm the email address you want all contact form submissions to be sent to …

How To Install And Use A Contact Form Plugin

Email To:

The plugin will automatically add the email address specified in the WordPress General Settings section to the ‘Email To:’ field, but you can replace this email with any email address you want messages from this form sent to.

For example, depending on what the contact form is being used for (e.g. support, leads, general enquiries, etc.) you can have all contact form messages and communications sent to a support staff, an assistant, your sales department, etc …

Similarly, you can change the ‘Webmaster’ salutation in the ‘Email To:’ field to whatever you want (e.g. ‘Bob Smith’, ‘Sales Dept’, etc …). Just remember to keep the format in this field (i.e. separate recipient and email address with a comma).

Email Bcc address (optional):

If you want to Bcc (Blind Carbon Copy) contact form submissions to other recipients, enter their emails into this field, e.g. user1@somedomain.com (single recipient), or user1@somedomain.com,user2@anotherdomain.com (multiple recipients)

Email subject prefix:

Replace the default subject prefix in this field if you want to. You can also add the following “tags” to the subject line:

  • [from_name] – Include the name of the form sender in the subject line.
  • [from_email] – Include the sender’s email address in the subject line.
  • [form_label] – Include the name of your form in the subject line.

Return-path address (recommended): As the plugin developer states in the help notes for this option:

Server email address the messages are sent from. Some web hosts do not allow PHP to send email unless the Return-path email address is set. It must be set to a real email address on your site domain, or mail will NOT SEND! (They do this to help prevent spam.)

If your form does not send any email, enter your site email address, then test the form again. This setting is required by Dreamhost, GoDaddy, many others, and is also recommended for gmail users to prevent email from going to spam folder.

Enter just an email: user1@example.com

Or enter name and email: webmaster,user1@example.com

For best results the “Email To” and the “Return-path address” should be separate email addresses on the SAME DOMAIN as your web site.

Enter a return-path email address into this field.

Leave all other settings in this section as they are and click on the Save Changes button to update your plugin settings …

How To Install And Use A Contact Form Plugin

After saving changes in your ‘Basic Settings’ tab, click on the ‘Fields’ tab …

How To Install And Use A Contact Form Plugin

Fields

This brings up the ‘Field Settings’ section …

How To Install And Use A Contact Form Plugin

Fields > Field Settings

The ‘Field Settings’ section lets you configure all of the fields that will be included in your contact form. For example, you can:

  • Specify different labels for your fields (e.g. change “Name” to “First Name”, or “Your Name”, etc …)
  • Rearrange the order in which fields display on the form.
  • Add extra fields to your form (e.g. phone number, company name, etc.)
  • Select field types (e.g. text, text area, email, checkboxes, radio buttons, multiple selections, URLs, date, password, hidden fields, etc.)
  • Specify which fields are required (i.e. the contact form will not be submitted unless the required fields are completed).

Field Settings – Notes

Field Labels must be unique. The Labels on the default standard fields (Name, Email, Subject, Message) cannot be changed in this section, but you can change the label that displays on the form on the Labels tab …

How To Install And Use A Contact Form Plugin

For help with this section, click on the ‘View instructions for fields’ link …

How To Install And Use A Contact Form Plugin

This brings up a detailed help section for this area …

How To Install And Use A Contact Form Plugin

To edit field details, click on the Show Details button to the right of the field …

How To Install And Use A Contact Form Plugin

The field expands to show a number of configurable options and additional settings for that specific field, including the ‘Required field’ option (keep the checkbox ticked if you require users to complete this field before submitting the form) …

How To Install And Use A Contact Form Plugin

To rearrange the order in which fields display on the contact form, click on an area outside of the field text boxes and drag it into the new desired position …

How To Install And Use A Contact Form Plugin

The new field order will be saved when you click Save Changes

How To Install And Use A Contact Form Plugin

To add extra fields to your contact form, click on the Add New Field button …

How To Install And Use A Contact Form Plugin

Note: If you have not saved changes on your form, a message window will pop-up informing you that changes will be lost if you continue. Click Cancel and save your changes before proceeding, or click OK to ignore this message …

How To Install And Use A Contact Form Plugin

A new field will be added to this section …

How To Install And Use A Contact Form Plugin

Edit the field and the field details then click Save Changes to add the new field to your form.

To temporarily disable a field in your contact form, click on the Show Details button …

How To Install And Use A Contact Form Plugin

Click on the ‘Disable field’ checkbox and save the settings for this field …

How To Install And Use A Contact Form Plugin

The field will be marked as ‘DISABLED’ …

How To Install And Use A Contact Form Plugin

To delete a field, click on the Show Details button …

How To Install And Use A Contact Form Plugin

Click on the Delete Field button …

How To Install And Use A Contact Form Plugin

A message will appear asking you to confirm the field deletion. Click OK to proceed, or Cancel to abandon the procedure …

How To Install And Use A Contact Form Plugin

The field will be permanently deleted when you save your changes.

Field Settings > General Field Settings

The ‘General Field Settings’ section lets you specify a number of settings that affect your contact form fields …

How To Install And Use A Contact Form Plugin

Leave the default settings for this section, or configure these to suit your needs.

You can configure the following settings in this section:

  • Date and time field settings
  • Acceptable file types that users can upload and send to you as an attachment (e.g. screenshot images and pdf documents). Any file type not listed in this section will be rejected.
  • Maximum size allowed for attachments.
  • Whether or not form users can format their message using HTML tags (e.g. bold or italicize words, enter clickable hyperlinks, etc.). This setting is disabled by default for security purposes. Enable this option only if you want users to be able to send HTML code in the textarea extra field types. HTML code allowed will be filtered and limited to only a few safe tags.
  • Whether or not to remove white spaces in the message field. Normally white space is removed, but you can opt to preserve it.

After configuring the settings in the ‘Fields’ section click on the Save Changes button to update your plugin settings …

How To Install And Use A Contact Form Plugin

After configuring the ‘Fields’ section, the next tab is the ‘Styles’ settings …

How To Install And Use A Contact Form Plugin

Info

Unless you need to configure the settings in this section, use the default settings and continue to the next section.

Styles

The ‘Styles’ section lets you configure a number of settings that affect how elements of your contact form will display on your site, such as CSS styles, alignment, labels, inputs, buttons, and text …

How To Install And Use A Contact Form Plugin

Like all other aspects of this plugin, extensive help and information is provided about each of the options in this section.

The next configurable section after ‘Styles’ is ‘Labels’ …

How To Install And Use A Contact Form Plugin

Useful Info

Unless you need to configure the settings in this section, use the default settings and continue to the next section.

Labels

The ‘Labels’ section lets you edit the text that displays on your contact form and configure options related to your form’s labels …

How To Install And Use A Contact Form Plugin

For example, let’s say that you want to change one of the labels on your contact form …

How To Install And Use A Contact Form Plugin

You would locate and edit this label in the ‘Field Label Settings’ section, and save your changes …

How To Install And Use A Contact Form Plugin

Your contact form will then be updated to display the new label …

How To Install And Use A Contact Form Plugin

You can completely customize your forms and override default labels by editing the form’s field labels, tooltip labels, and error messages …

How To Install And Use A Contact Form Plugin

The next configurable section after ‘Labels’ is ‘Security’ …

How To Install And Use A Contact Form Plugin

Info

Unless you need to configure the settings in this section, use the default settings and continue to the next section.

Security

The ‘Security’ section lets you configure settings for your form’s CAPTCHA, Akismet spam prevention and domain security …

How To Install And Use A Contact Form Plugin

Security > CAPTCHA Settings

A CAPTCHA form (Completely Automated Public Turing Test To Tell Computers And Humans Apart) prevents automated spam bots and form-filling robots from using the contact form to send you spam by requiring that the user pass a test that only humans can pass before the form can be submitted.

You can enable or disable the CAPTCHA form, make the CAPTCHA image smaller, hide it for registered users and enable a hidden spambot trap.

Security > Akismet Settings

The form also uses Akismet to help prevent spam when the Akismet plugin is installed and activated on your site.

You can turn this setting on or off and specify what to do if Akismet identifies contact form submissions as being SPAM.

To learn how to set up and configure the Akismet Antispam plugin, see the tutorial below:

Security > Domain Protect Settings

This section helps to prevent automated spam bots posting from off-site forms. If you have multiple domains for your site, list the additional names in the ‘Additional allowed domain names(optional):’ text area.

Unless you need to configure the settings in this section, use the default settings and continue to the next section.

The next configurable section after ‘Security’ is ‘Advanced’ …

How To Install And Use A Contact Form Plugin

Important Info

Unless you need to configure the settings in this section, use the default settings and continue to the next section.

Advanced

The ‘Advanced’ section lets you configure the following settings: Advanced > Confirmation Email Settings

This section lets you send a confirmation email message automatically to users who submit the form …

How To Install And Use A Contact Form Plugin

You can configure all parameters of your confirmation email: “From” name, “From” address, “Reply To” address, email subject, and your email message.

You can also send formatted email messages by enabling the use of HTML in your confirmation email message.

Advanced > Redirect Settings

This section is automatically enabled by default. It allows you to specify a URL to redirect users to after the form has been successfully submitted (e.g. your home page, newsletter subscription form or special offer page) …

How To Install And Use A Contact Form Plugin

You can specify a delay in seconds for the redirection to occur.

You can also send posted data to the redirected URL. This is useful if you want to add the user data to another form or script on the redirected URL.

Advanced > Advanced Form and Email Settings

This section provides a number of additional features that you can enable for your form and email settings …

How To Install And Use A Contact Form Plugin

Click on the ‘help’ links next to the each of the options to learn more about what these settings mean.

Advanced > Silent Remote Sending Settings

If this section is enabled, your form can send posted data silently to a third party remote URL after a user sends a message …

How To Install And Use A Contact Form Plugin

This option can be used for a third party service such as a mailing list API. Select method GET or POST based on the remote API requirement (refer to the help links in this section for more information).

Advanced > Data Export Settings

This section lets you save posted data to a database, or export data from posted fields to a CSV file or a plugin like Contact Form DB plugin that automatically saves contact form data to your WordPress database …

How To Install And Use A Contact Form Plugin

Refer to the help links for more information on configuring this section.

Useful Information

You don’t need to configure anything else after the ‘Advanced’ section. The remaining tabs contain optional features, tools and add-ons to the plugin (see ‘Additional Plugin Information’ section further below).

Your plugin is now configured. Remember to save your settings …

How To Install And Use A Contact Form Plugin

The next step is to create your Contact page.

Plugin Usage

After configuring the Fast Secure Contact Form plugin, go back to the ‘Basic Settings’ tab and locate your form shortcode …

How To Install And Use A Contact Form Plugin

Copy this form shortcode to your clipboard …

How To Install And Use A Contact Form Plugin

From your WP admin, choose Pages > All Pages

How To Install And Use A Contact Form Plugin

Find your ‘Contact’ page and click on Edit to open it …

How To Install And Use A Contact Form Plugin

Paste the form shortcode into the body section of your page …

How To Install And Use A Contact Form Plugin

Scroll down to the ‘Discussion Settings’ box below the content editor and disable ‘Allow Comments’ for this page …

How To Install And Use A Contact Form Plugin

Click on Publish > Update to republish your page …

How To Install And Use A Contact Form Plugin

After your page has been republished, click on View Page

How To Install And Use A Contact Form PluginThis will display your contact page on your browser …

How To Install And Use A Contact Form Plugin

Go back to your plugin settings if you need to make any changes. Edit, adjust, save and preview your form until you’re happy with the way your form looks.

When you have finished configuring your contact form, the next step is to test to make sure that everything is working correctly.

Testing Your Contact Form

To ensure that there are no problems with your form, let’s perform two tests:

  1. Send a test email using the plugin’s ‘Tools’ feature (internal test)
  2. Test your form by making a submission from your browser, just as a visitor to your site would do (external test)

Testing Your Form – Internal Test

The first test is to make sure that the plugin has been configured correctly. A test email will be sent by the plugin, and you should receive it in your email inbox shortly afterwards.

From your WP administration menu, go to Plugins > FS Contact Form and click on the ‘Tools’ tab …

How To Install And Use A Contact Form Plugin

Enter your email address in the ‘Tools and Backup’ section and click the Send Test button to send yourself a test email …

How To Install And Use A Contact Form Plugin

A confirmation message will display informing you that a test email was sent to your email address …

How To Install And Use A Contact Form Plugin

If your form has been configured correctly, you should receive a test email like the one shown in the screenshot below …

How To Install And Use A Contact Form Plugin

If you don’t receive an email, there may be a problem with your settings. You could also see some troubleshooting information displayed that might help you diagnose the problem. Click on the ‘FAQ’ link in the ‘Tools and Backup’ section for help fixing the issue …

How To Install And Use A Contact Form Plugin

Testing Your Form – External Test

After sending a test email from the plugin, the next step is to go through the form submission process itself. You want to submit an enquiry from your ‘Contact’ page using your browser, just like your visitors will when trying to contact you.

Visit your Contact page (or whatever page you have added a form to) via your browser. Complete the form, enter the Captcha code and click the submit button …

How To Install And Use A Contact Form Plugin

You will see a “message has been sent” notice displayed while you’re being redirected to the page you have configured in your ‘Advanced > Redirect’ settings …

How To Install And Use A Contact Form Plugin

Since you know from the first test that your plugin has been configured correctly, you should expect to see a message in your inbox shortly after submitting the form …

How To Install And Use A Contact Form Plugin

Tip

Tip: It’s also a good idea to test what happens if errors are made when submitting your form.

For example, try submitting your form without filling in one or more ‘required’ fields to see what happens …

How To Install And Use A Contact Form Plugin

Also, try guessing the Captcha code incorrectly …

How To Install And Use A Contact Form Plugin

As with the required contact form fields, if you do not enter or solve the CAPTCHA security code correctly, the form will not be submitted and a message will be displayed asking you to enter or retry the CAPTCHA.

When you are satisfied that your contact form works correctly, you have completed setting up the form. Visitors will now be able to contact you for questions or support.

Additional Plugin Information

In addition to the sections we have already covered in the plugin configuration process, the Fast Secure Contact Form plugin has the following sections that are worth knowing about:

  • Scheduling
  • Tools
  • Newsletter

Let’s take a brief look at each of these sections:

Scheduling

Fast Secure Contact Form integrates with vCita, a robust and popular online business scheduling application. This lets your clients book appointments and request services online …

How To Install And Use A Contact Form Plugin

vCita online scheduling software allows potential and existing clients to schedule a consultation, an appointment or a service instantly, on any device and with selected staff members, based on their up-to-date availability.

To view this section, click on the ‘Scheduling’ tab …

How To Install And Use A Contact Form Plugin

You will need to create an account and connect the scheduler to your email in this section before you can use the scheduling feature. Once you are connected, you will then be able to add a scheduling button to your form …

How To Install And Use A Contact Form Plugin

If you do not plan to offer web-based video or phone conferencing options via your contact form, then ignore this section.

To learn more about the online scheduling software that lets clients request and book appointments online, visit the site below:

Tools

This section contains a number of tools that let you perform various administrative plugin functions.

To view this section, click on the ‘Tools’ tab …

How To Install And Use A Contact Form Plugin

Tools > Send a Test Email

We have already covered this function earlier in the tutorial (see ‘Testing your Contact Form’) …

How To Install And Use A Contact Form Plugin

Tools > Copy Settings

This tool lets you copy your contact form settings from the current form you are editing to any of your other forms …

How To Install And Use A Contact Form Plugin

Tools > Backup Settings

This tool lets you backup your contact form settings for safe keeping, or to transfer forms from one site to another …

How To Install And Use A Contact Form Plugin

Tools > Restore Settings

This tool lets you restore a previous backup of your contact form settings …

How To Install And Use A Contact Form Plugin

Tools > Reset and Delete

This tool has a couple of buttons that let you reset your existing form to its default values and reset default style settings on all forms …

How To Install And Use A Contact Form Plugin

Newsletter

The last tab in the Fast Secure Contact Form plugin settings lets you integrate your contact forms with a newsletter service and email marketing business application called Constant Contact

How To Install And Use A Contact Form Plugin

To view this section, click on the ‘Newsletter’ tab …

How To Install And Use A Contact Form Plugin

To integrate Fast Secure Contact Form with the service, you will need to set up an account with Constant Contact and then install a newsletter plugin, which you can download from this section …

How To Install And Use A Contact Form Plugin

Once this integration has been set up, when forms get submitted, your contacts will be automatically added to a Constant Contact email newsletter, allowing you to stay in touch with your prospects and customers.

Plugin Help & Support

If you need any help or support with this plugin, then click on the help links at the top of the plugin settings page …

How To Install And Use A Contact Form Plugin

Additional WordPress Contact Forms

WordPress makes available a number of contact form plugins you can use.

Jetpack

Jetpack for WordPress

(Jetpack for WordPress)

Installing the Jetpack plugin on your site automatically adds a ‘Add Contact Form’ button to your content editor that lets you add a contact form to any page you like …

Jetpack 'Add Contact Form' menu button

(Jetpack ‘Add Contact Form’ menu button)

Useful Tip

Note: If you find that you are getting too much spam through your contact form, you can add a Google reCAPTCHA to your form …

Getting too much SPAM through your contact form?

(Getting too much SPAM through your contact form?)

The screenshot below shows a Jetpack contact form with the reCaptcha Jetpack plugin installed …

Add a reCaptcha to Jetpack contact form to prevent spam

(Add a reCaptcha to Jetpack contact form to prevent spam)

For more details on using Jetpack, see the tutorial below:

Contact Form 7

Contact Form 7 contact form plugin

(Contact Form 7)

With over 1 million downloads, Contact Form 7 is one of the most popular contact form plugins available for WordPress users. Contact Form 7 is a flexible plugin that lets you manage multiple contact forms with easy form customization features and support for 3rd-party plugins that can significantly extend its functionality. Contact Form 7 supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and many additional features.

To learn more about this plugin, visit the website below:

You can search for more WordPress Contact Form plugins inside your WordPress dashboard (Plugins > Add New), or the WordPress Free Plugin Directory …

WordPress Plugins - Contact Form

(WordPress Plugins – Contact Form)

Search the WordPress Plugin Directory for contact form plugins below:

Congratulations! Now you know how to add a contact form to your WordPress site.

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie

***