A contact form is the block of fields on a website that lets a visitor send a message without opening their own email programme. It is the point where anonymous traffic becomes a named person with a question, which makes it the most valuable few hundred pixels on most business websites.
In short
- Every field you add costs you a share of the inquiries.
- The message has to reach somewhere more than one person watches.
- Without a visible confirmation, people assume it failed.
- Records kept in the site itself survive a lost email.
What the form is actually for
A form exists to start a conversation that somebody can answer, which sets a useful limit on what belongs in it.
It does not need to gather everything required to prepare a quotation. It needs to gather enough to reply intelligently, and the reply is where the rest of the questions belong. A business that asks twelve questions before it will speak to anybody has moved its qualification process onto the visitor and is paying for it in inquiries that never arrive.
It is also one option among several. Some visitors will message on social, some will write directly to an address they found on the page, and some will call. The form is the version that works when the customer does not want to open a conversation in public and does not want to wait for someone to pick up. Its advantage is that it produces a written record with the details in it.
Every field costs you something
The relationship between length and completions is not subtle, and it applies in both directions.
- Name. Necessary. One field rather than two, since splitting first and family names doubles the typing and rarely matters.
- A way to reply. An email address, or a number, and let the visitor choose which they prefer to give.
- The message. A large box, because a small one signals that a short answer is expected and short messages are harder to act on.
- One routing question. A short list of services or branches, where the answer decides who picks the message up.
- Everything else. Ask in the reply.
Two details cost far more than their size suggests. Fields marked required that have no business being required send people away at the last step, which is the most expensive place to lose them. And on a phone, the wrong keyboard type on a number or email field makes the form feel broken even though it works, so whoever builds it should be filling it in on a handset before it goes live.
Where the message goes
The most common failure in a contact form has nothing to do with the form. It is that nobody reads what it sends. The same fault sinks a chatbot, which can collect an inquiry all evening and still leave it sitting somewhere unwatched.
Send to an address at least two people can open, so an inquiry arriving during a holiday is not waiting alone in a personal inbox. Give the notification a subject line that is obviously an inquiry and obviously from the website, so it survives a busy morning. And check where the messages actually land, since a notification that goes to spam looks identical to a form that receives nothing.
Those notifications end in spam for a consistent reason. The form is configured to send as if the message came from the visitor, and mail providers can see that your domain never authorised that person to send on its behalf. Send from an address on your own domain and place the visitor address in the reply-to field, which keeps the reply button working and keeps the message out of the filter.
Store the submissions as well as emailing them. Every serious form tool can keep a copy in the site or write it to a spreadsheet, and the day somebody deletes the wrong thread is the day that is worth having.
The confirmation, and the tracking that depends on it
Somebody who presses send and sees nothing change assumes the form failed.
The fix is a visible confirmation that says the message was received and, where you can commit to it honestly, when a reply should be expected. A separate confirmation page is the simplest version and has a second advantage: it gives you a URL that only exists after a successful submission, which is the cleanest possible thing to record as a key event.
Without it, tracking has to guess. Counting clicks on the send button records attempts rather than successes, including the ones a validation error stopped, and the reported number will be higher than the number of messages you received. That gap is one of the more confusing things to explain later, and building the confirmation page early avoids it entirely.
An automatic acknowledgement to the sender is worth adding on top. It reassures the visitor, and it puts your address in their inbox before your reply arrives, which makes the reply less likely to be filtered.
Spam, and what it costs to stop
Every public form attracts automated submissions, and the cure is frequently worse than the disease.
The gentlest defences work invisibly. A hidden field that a person cannot see and automated software fills in anyway catches a large share. So does checking how long the form took to complete, since nobody types a genuine message in two seconds. Neither asks the visitor to do anything.
Visible challenges should be a second resort. Every image puzzle, every box to tick, and every attempt to identify a motorbike in nine photographs removes a proportion of real inquiries along with the automated ones, and it removes more of them on a slow connection or an older phone.
Two other things belong on the page for reasons beyond spam. The connection has to be encrypted, because a form is sending a name and a message across it and browsers mark unencrypted forms as unsafe, which is covered under SSL certificate. And where the form collects personal details, a short line saying what you will use them for, with a link to your privacy notice, is both good manners and what the Data Privacy Act expects.
Words you will hear
- Field. One input in the form, such as name or message.
- Required field. One the form refuses to submit without.
- Validation. The check that runs before submission, such as whether an address looks like an address.
- Honeypot. A hidden field used to catch automated submissions.
- Reply-to. The address a reply goes to, which can differ from the sender.
- Confirmation page. The page shown after a successful submission.
- Key event. The recorded action that counts a submission as a result.
The whole thing can be tested in three minutes. Fill in your own form on a phone, send it, watch for the confirmation, and see how long the message takes to reach somebody who can answer it. Most businesses find at least one thing wrong the first time they try.
Questions we get
More about contact form
How many fields should a contact form have?
Should the phone number be required?
Where should the message actually go?
Why do our form messages arrive in spam?
Do we need a confirmation page?
What is the best way to stop spam submissions?
Do we still need a form if most customers message us on social?
Do it yourself
Guides on the same topic
Free step by step guides for owners doing the work themselves. No sign up and no email required.
Related terms
Call to action
A call to action is the part of a page that asks the visitor to do one specific thing. Most pages fail because they ask for several things at once.
Key event
A key event is an action in Google Analytics 4 you have marked as mattering, such as a form sent. It is what conversions were called before the 2024 rename.
User experience
User experience is how using something actually feels, not how it looks. It is a result rather than a deliverable, which is why it cannot be added at the end.