Menu Close

How to Create a Contact Form: WordPress, Free Tools, and Spam Protection

How to Create a Contact Form: WordPress, Free Tools, and Spam Protection

We often get requests like “We want a contact form on our website” or “Our current form is outdated and we want to rebuild it.” Setting up a form is no longer very difficult. Free tools are readily available.

The hard part comes later. The common problem is not “we can’t build it.” It is what happens after it’s built: emails don’t arrive, the form gets nothing but spam, or the form works but inquiries don’t increase. A form is your business’s front desk, but it can quietly break without anyone noticing. This article covers the three options, then input fields, spam protection, auto-replies, and running the form after it goes live.

Key Takeaways

There are three main ways to build a form (a WordPress plugin, an embedded Google Form, or an external form service). If your site runs on WordPress, a plugin is usually enough. Base the decision on two questions, not cost: “Do you want the design to blend in with the page?” and “Where should submitted data be kept?” The real cost is not building the form but making sure messages keep getting through. Always set up spam protection, an auto-reply, and test submissions together.


Contents

There Are Three Ways to Build a Form

There are countless individual tools, but by how they work, there are three approaches.

MethodBest forWatch out for
WordPress pluginYour site runs on WordPress. You want the design to match your contentEmail sending must be configured separately
Embedding a Google FormYou want to set it up as fast as possible. You want to tally responses in a spreadsheetIt tends to look out of place on your site
External form serviceYour site doesn’t run on WordPress. You need more featuresYou’re affected by the service’s spec changes or shutdown

① WordPress Plugin

If you run your site on WordPress, this is usually the first choice. The standard option is Contact Form 7, which is free and well documented in Japanese. If you want to do everything through the admin screens, you can also choose something like Snow Monkey Forms, which lets you build the form as blocks in the admin area. The advantage is that the form becomes part of your site: you can match fonts and spacing to the rest of the page, and you decide the recipient and the auto-reply wording yourself. On the other hand, you have to configure email delivery yourself.

② Embedding a Google Form

You create a Google Form and paste the embed code it provides into your page. It’s free and the fastest to set up. Responses collect in a spreadsheet, which makes tallying easy, but the form keeps Google’s design, so it looks out of place on a corporate website. It suits internal surveys, seminar sign-ups, or a stage where “just getting a contact point open” is the priority.

③ External Form Service

You use a dedicated form service and embed the code it generates. Choose this for sites not built on WordPress, or when features like conditional logic and file attachments matter. Keep in mind that your form and inquiry history live on that service. If the pricing changes or the service shuts down, you’ll have to migrate whether it suits you or not. If you plan to use it long term, check that you can export past data before choosing it.

If in doubt, choose based on whether everything stays in the same place as your site

If you don’t need special features, building with a plugin and keeping everything on your own server is the choice least likely to force you to backtrack later. External services are convenient, but you’re entrusting part of your front desk to another company. Choose with a clear sense of how much you’re handing over.

Diagram — The three ways to build a contact form, side by side, showing where the submitted data is stored in each
Diagram — The three ways to build a contact form, side by side, showing where the submitted data is stored in each

Decide Input Fields by Cutting First

What changes results most is not the look but the input fields. The more fields there are, the more effort it takes, and some people give up partway. Start from what you need to know in order to reply through this contact point.

FieldRequired?Reasoning
NameRequiredNeeded to address the reply
Email addressRequiredWithout a way to reply, the contact point doesn’t work
Inquiry detailsRequiredProvide one free-text field
Company nameOptional to requiredCan be required if you only accept business inquiries
Phone numberOptional as a ruleSee below
Address, department, job titleOptional or removeOften unnecessary at the reply stage

The test for whether to make the phone number required is “Will your first reply be a phone call?” If on-site estimates or site surveys are the norm and a call is faster, there’s a reason to require it. But if you can answer by email and still require it, people who don’t want to be called will stop filling in the form. If the only reason is that it would be handy for your staff, make it optional and see what happens.

  • A statement on how personal information is handled (or a link to your privacy policy) and a consent checkbox
  • Error messages that show which field has what problem
  • A submit button large enough to tap easily on a smartphone

Another commonly overlooked point is encrypted communication. Since you’re asking for personal information, the page must be served over https (SSL). You should not put a form on a page that shows a “Not secure” warning. See Why SSL (https) Matters and How to Set It Up for details.

Diagram — A form with many input fields next to a minimal form, showing where visitors drop off
Diagram — A form with many input fields next to a minimal form, showing where visitors drop off

Add Spam Protection from the Start, Not Later

If you publish a form without protection, you are very likely to receive automated submissions (spam). These aren’t people finding your form and writing to you; they come from automated systems that find forms and submit to them. When dozens arrive each day, genuine inquiries get buried among them. The common options are:

  • reCAPTCHA: The standard option from Google. It’s free and comes in a version that requires no on-screen action and a version where users tick a checkbox
  • Cloudflare Turnstile: A similar system from Cloudflare. It has a free tier and requires little action from users
  • Honeypot: A hidden input field that people can’t see; if it contains a value, the submission is treated as automated. It puts no burden on users

No single method is perfect, so the practical approach is to combine different types, such as a verification service and a honeypot.

You Won’t Hear Complaints That “The Form Won’t Send”

If protection is too strict, it can block genuine customers too. The tricky part is that people who couldn’t send won’t bother to tell you. They simply leave. After adding protection, always run a test submission yourself.


Auto-Reply Emails and the “Emails Aren’t Arriving” Trap

Also set up a confirmation email that’s sent automatically to the person who submitted the form (an auto-reply). Include four things: ① that the inquiry was received, ② a rough timeframe for your reply, ③ how business hours and closed days are handled, and ④ a copy of what they submitted. ② in particular eases worries like “Maybe they won’t get back to me,” and lowers the chance that they’ll contact competitors at the same time.

The most common problem when setting up a form is that the emails themselves don’t arrive. The cause is almost always not the form settings but how the email is sent.

If you use the server’s default sending function as is, your sending domain isn’t authenticated, so emails get sent to spam folders or rejected by the receiving side. To send from your own domain, you need settings that authorize sending (sender domain authentication) and a proper sending route. How to pinpoint the cause and fix it is covered in Why Contact Form Emails Don’t Arrive and How to Fix It.

Always send test submissions to multiple addresses, and check spam folders too. Emails may reach addresses on your own domain but be marked as spam at major providers such as Gmail.

Diagram — The path from a form submission to the admin notification email and the auto-reply email, showing the points where delivery can fail
Diagram — The path from a form submission to the admin notification email and the auto-reply email, showing the points where delivery can fail

The Thank-You Page and Running the Form After Launch

Many sites just display “Your message has been sent” on the same page, but we recommend creating a dedicated thank-you page. Counting its page views tells you how many inquiries you’re getting, the change of screen leaves no doubt that the message went through, and you can place next steps on it.

Always state a timeframe for your reply on the thank-you page, such as “We will reply within ◯ business days.” Once you write it, you have to keep to it, but that’s part of running a contact point. Before long holidays or other times when replies will be slower, simply changing the wording temporarily makes a difference to how you come across.

Also decide who receives and who replies (send to a shared address rather than a single person) and test submissions about once a month (because updates can stop the form from sending). That keeps the form from going silent.

If the form works but no inquiries come in, the cause almost always lies in the pages before it. What to include on your site to encourage inquiries is covered in What to Include on Your Website.


Frequently Asked Questions

Apart from appearance, are there any problems with embedding a Google Form?

No major problems. Just check two things. First, response data collects in a Google account, so decide within your company who manages that account. Second, when embedded, the form can cause double scrolling within the page on smartphones.

Can inquiry content be stored on the website side?

Yes. Some WordPress plugins can save submissions in the admin area. This acts as a backup if emails don’t arrive, but it also means personal information stays on your server, so decide on a retention period and a deletion process before enabling it.

If spam increases, will changing the form’s URL stop it?

It may drop temporarily, but the form will be found again after a while. Changing the URL also has the side effect of cutting off traffic from existing links, so address the problem by adding a verification mechanism first.


Summary

Building a form isn’t difficult in itself. The difference lies in whether you built it with what comes after in mind.

  • There are three ways to build a form. If your site runs on WordPress, a plugin is the first choice
  • Base the decision not on cost but on how well the design blends in and where the data is kept
  • Decide input fields by cutting first. Decide whether to require a phone number by whether you’ll reply by phone
  • Combine different types of spam protection, and always run a test submission yourself after adding them
  • Delivery failures are usually caused by sending settings. Build the thank-you page and monthly tests into your routine

If you already have a form, start by sending one submission yourself. Check how long it takes to arrive, whether it landed in the spam folder, and whether the auto-reply wording matches how you currently work. Once you’ve checked these, you’ll see what needs fixing. If you’re unsure about anything, send us your form’s URL and we’ll review the settings and fields and let you know what we find.

Share this article
Contents