Key Takeaways
- Every field you add is a reason for someone to give up. Ask only for what you need to reply well.
- Visible labels, clear error messages and keyboard-friendly fields make a form easier for everyone, not only people with disabilities.
- Stop spam with methods that do not punish real people, such as hidden fields and server-side checks, before reaching for a puzzle.
- Be honest about what you will do with someone's details. If you rely on consent for a newsletter, use a separate, optional, unticked box.
- What happens after someone presses send matters as much as the form: a clear confirmation, a fast reply and an enquiry that actually reaches the right person.
Your contact form is where interest turns into an enquiry. It is often the last thing a visitor sees before deciding whether to get in touch, and it is surprisingly easy to get wrong.
Long forms, vague error messages, puzzles that are hard to solve on a phone and silence after pressing send all lose enquiries you have already paid to attract. The good news is that most fixes are small.
This guide covers how to design a contact form that more people complete: which fields to ask for, how to label them, how to handle errors, how to stop spam without blocking real people, how to deal with consent and privacy, and what should happen after someone sends it.
Start With Fewer Fields
The quickest improvement to most forms is to remove fields. For each one, ask a simple question: will we use this answer to reply to this person? If not, remove it or make it optional.
For many service businesses, a good starting form is:
- name;
- email address or phone number, with a choice of how they would like to be contacted;
- what they need help with, as a short list or a free text box;
- an optional message.
Some businesses need more, such as a postcode to check coverage or a rough timescale. That is fine. The aim is not the shortest possible form but one where every field earns its place.
Optional Fields Should Say So
If a field is optional, label it "(optional)". Marking required fields with an asterisk alone can confuse people, because not everyone knows what it means. Labelling the few optional fields is usually clearer.
Choose the Right Type of Field
Use the correct field types, so phones show the right keyboard. An email field should bring up the "@" key, and a phone field should bring up the number pad. Use drop-down lists sparingly. If there are only a few options, radio buttons are quicker to scan and tap.
If you ask how people found you, keep it to a short list. Our article on asking "How did you hear about us?" explains why this one question can be more useful than your analytics.
Labels and Instructions
Every field needs a visible label that stays on screen. Placeholder text inside the box is not a label. It disappears as soon as someone starts typing, and it is often too pale to read.
The W3C's forms tutorial covers how to label controls, group related fields and give instructions. The basics are:
- put each label directly above or beside its field;
- link the label to the field in the code, so tapping the label selects the field and screen readers announce it;
- group related options, such as "How would you like us to contact you?", with a heading for the group;
- give any formatting rules before the field, not after a mistake.
Write labels in plain words. "Your email address" is clearer than "Contact information". "What do you need help with?" invites a better answer than "Subject".
Error Messages That Help
Error messages are where many forms lose people. A red outline and the words "Invalid input" tell the visitor something is wrong but not how to fix it.
The GOV.UK Design System's guidance on error messages is a good model for any website. It recommends messages that say what went wrong and how to fix it, in plain English, placed next to the field. It suggests avoiding vague phrases such as "An error occurred" and words like "invalid".
| Unhelpful message | Helpful message |
|---|---|
| Invalid input | Enter an email address in the correct format, like name@example.com |
| This field is required | Enter your name |
| Error | Enter a phone number, like 01632 960 001 |
| Please select an option | Select how you would like us to contact you |
| Submission failed | We could not send your message. Check your connection and try again, or call us on our main number |
Some more rules worth following:
- keep everything the visitor has already typed when you show an error;
- check fields when the form is sent or when someone leaves a field, not on every keystroke;
- show a summary of all errors at the top of a longer form, linked to each field;
- never rely on colour alone to show a problem.
Accessibility Is Part of the Design
An accessible form works with a keyboard, a screen reader, voice control and a magnifier. It also works better for someone filling it in on a phone with one hand.
Check that you can move through every field with the Tab key and see clearly where you are. Make buttons and checkboxes large enough to tap. Make sure text and field borders have enough contrast against the background. Test the form with your phone's screen reader switched on at least once.
If you are not sure where your site stands, our accessibility and WCAG compliance service can review your forms alongside the rest of your website.
Stopping Spam Without Blocking Real People
Spam is a real problem for contact forms, but some cures are worse than the disease. A puzzle that asks people to pick out traffic lights is frustrating on a phone and can be very hard for people with sight or cognitive impairments.
The W3C's note on the inaccessibility of CAPTCHA describes several alternatives. In general terms, the methods that do not ask anything of the visitor include:
- hidden fields that people never see but automated scripts tend to fill in;
- server-side checks that look for patterns typical of spam, such as many links or messages sent too quickly;
- limits on how often the same source can send the form;
- spam filtering on the messages that arrive.
These work behind the scenes. If you still need a visible challenge, choose one that offers an accessible alternative and only appears when the form looks suspicious.
Keep the form itself secure too. Our guide to website security for UK small businesses covers the basics, including HTTPS.
Consent and Privacy
People are more likely to send their details if they know what you will do with them. Add a short line near the send button, such as "We will use your details to reply to your enquiry. See our privacy policy." and link to your privacy notice.
You do not usually need a consent tick box simply to reply to someone who has asked you a question. The ICO's guidance on when consent is appropriate explains that consent is one of several lawful bases, and that asking for it when you would use the data anyway is misleading.
Newsletter sign-ups need separate consideration. When you rely on consent, the ICO's guidance on what valid consent looks like requires a clear, active choice. Use an optional, unticked box, separate from the enquiry, and make it easy to withdraw consent.
The rules on email marketing also depend on the recipient and whether an exception applies. For example, the limited soft opt-in for your own similar products or services has conditions, including an opt-out when details are collected and in every message. An enquiry alone is not blanket permission to send newsletters. The ICO flags this guidance as under review following the Data (Use and Access) Act, so check the current rules before setting up your form.
This is general guidance, not legal advice. If your situation is unusual, speak to a qualified adviser.
What Happens After Someone Presses Send
The form is not finished when the visitor clicks the button. Plan the next steps just as carefully.
A Clear Confirmation
Show a confirmation message on the page or a thank-you page that says the message has arrived, when they can expect a reply and what to do if it is urgent. Send a short confirmation email too, so they have a record.
Make Sure It Reaches Someone
Enquiries go missing more often than most businesses realise. A changed email address, a full inbox or a broken connection to your CRM can quietly lose leads for weeks. Test your form every month by sending a real enquiry.
If your form sends leads into a CRM, our guide to connecting WordPress forms to HubSpot reliably covers how to avoid lost and duplicated leads. If your analytics shows fewer enquiries than you expect, check our GA4 enquiry tracking checklist.
Reply Quickly
A quick, personal reply often matters more than anything on the form itself. Automation can help with acknowledgements and routing. Our article on using AI and automation to follow up enquiries explains where it helps and where a person should take over.
Redesigning a Form That Was Losing Enquiries
Here is a fictional example. A local landscaping company's contact form has eleven fields, including full address, budget, preferred start date, garden size and a puzzle to prove the visitor is human. Visitors start it but many never send it.
The owner removes six fields. The form now asks for name, phone or email, the type of work and an optional message, plus a postcode to check coverage. Labels sit above each field, errors explain what to fix, and the puzzle is replaced with a hidden field and a server-side spam check.
The owner chooses consent for newsletter sign-ups. A short privacy line sits above the send button, with a separate, optional, unticked box for the seasonal newsletter. After sending, visitors see a thank-you page that says the team replies within one working day and gives a phone number for urgent jobs. The owner tests the form each month to make sure every enquiry arrives.
Getting More Enquiries From Your Website
A good contact form is short, clear, accessible and honest, and it is backed by a reliable process behind the scenes. Start by removing fields, fixing labels and error messages, and testing that every enquiry reaches you.
If your site gets visitors but few enquiries, our guide to websites with traffic but no enquiries is a useful next read, and our article on what a CRO audit includes explains how to find where visitors drop out. Our conversion rate optimisation service reviews forms alongside the pages that lead to them.
If you would like us to look at your current form, send us a link to your website and tell us how many enquiries you would like it to bring in.
Frequently Asked Questions
How many fields should a contact form have?
As few as you need to reply well. For many service businesses, that is name, a way to contact them, what they need and an optional message. Add fields only if you will use the answers.
Should I use a CAPTCHA on my contact form?
Try other methods first. Hidden fields, server-side checks, rate limits and spam filtering stop much automated spam without asking anything of real visitors. If you need a visible challenge, choose one with an accessible alternative.
Do I need a consent checkbox on my contact form?
Not usually just to reply to an enquiry. If you rely on consent for marketing emails, give people a separate, optional, unticked choice. Other email-marketing rules and limited exceptions may apply. Explain how you use their details and link to your privacy notice. This is general guidance, not legal advice.
Is placeholder text a good replacement for labels?
No. Placeholder text disappears when someone starts typing and is often hard to read. Use a visible label for every field, and keep placeholders, if you use them at all, for short examples.
What should happen after someone submits a contact form?
Show a clear confirmation that says the message has arrived and when to expect a reply, send a confirmation email and make sure the enquiry reaches the right person. Test the whole process regularly.



