Every form field has a cost
A contact form is the last step between an interested visitor and an actual enquiry. Every field adds work and often a doubt: "why do they want my number?", "what do I put as budget?". To decide whether a field stays, one question is enough: what do we do with this answer before the first call? If the answer is "nothing", remove the field.
Fewer fields is not always better. Some fields exist to qualify leads and accept losing a few submissions in exchange for more relevant enquiries. That trade-off should be a deliberate choice, not a habit or a leftover from the theme.
The minimum set
- Name, in a single field: separate first and last name fields rarely help whoever replies.
- Email, the only required contact detail in most cases.
- Message, with helper text that says what to write ("Describe the project and timing in two lines").
- Phone, optional, unless the first contact always happens by phone.
Fields that qualify
If you receive many off-target enquiries, add one or two closed questions: type of request, budget range, start date. A dropdown with four options is quicker to fill in than a free-text field and produces comparable data. Avoid making fields such as company registration, VAT number or "how did you hear about us" required at first contact: you can ask later.
Required and optional fields
Nielsen Norman Group recommends marking every required field with a clearly visible asterisk, rather than a generic note at the top of the form that many people skip. Marking optional fields with "(optional)" also spares people the effort of guessing.
A few practical rules:
- Do not make both email and phone required: pick one.
- Keep labels visible above each field. Placeholder text alone disappears as soon as someone types and causes accessibility problems, as the W3C forms tutorial points out.
- Use the right input types (
type="email",type="tel") andautocompleteattributes such asname,email,telandorganization: on mobile the browser fills in details with one tap. - Size the message field for several lines, so it is clear people can write more than one sentence.
Multi-step forms: when they make sense
A multi-step form makes sense when there are many questions or when qualification needs several choices: quotes, configurators, B2B enquiries covering different services. For a simple "contact us" with three fields it is an extra step that adds nothing.
When you use one, a few rules keep completion high:
- Start with easy questions: type of service, project size, one-click choices.
- Ask for contact details last, once the person has already invested a few seconds.
- Show progress, for example "Step 2 of 3": the W3C advises telling users where they are in forms split across several pages.
- Keep the data when people go back.
- Measure each step separately, so you know where people stop.
The form also needs a page that does its job: proof, answers to objections, clear expectations. Our article on B2B landing pages has a full checklist.
Error messages and validation
An error message should say what is wrong and how to fix it, next to the field in question. The UK government design system, one of the most carefully maintained references on the subject, advises against generic messages such as "This field is required" and recommends direct instructions:
- "Enter your email address" for an empty field.
- "Enter an email address in the format name@company.com" for a wrong format.
- "Your message must be 2,000 characters or fewer" for an exceeded limit.
Two common mistakes make the experience much worse. The first is clearing fields when an error appears, which forces people to start over. The second is validating on every keystroke and flagging "invalid email" while the person is still typing. It is better to check when the field loses focus and on submit. On long forms, add an error summary at the top, and always validate again on the server.
Privacy and consent on a contact form
To answer a request the user sent you, you normally do not need a consent checkbox: the legal basis is handling the request itself. You do need a clear, accessible privacy notice, with a link near the submit button.
Things change if you want to use the data for a newsletter or marketing messages too. That requires specific consent, with a separate, unticked checkbox. The EDPB consent guidelines make clear that consent should not be a condition for a service that does not need it: do not block the enquiry if the newsletter box is left unticked. This is not legal advice: check wording and legal bases with whoever handles privacy in your company.
Spam protection that does not punish people
Form spam is better handled with invisible checks than with puzzles. A layered approach:
- Honeypot field: a field hidden from users that bots fill in. If it arrives filled, the submission is discarded.
- Timing check: a form submitted two seconds after the page loaded was almost certainly not filled in by a person.
- Cloudflare Turnstile: a CAPTCHA alternative that, in managed mode, only shows a checkbox to risky visitors. The documentation is explicit: the widget alone does not protect the form, and the token must be verified server-side with the Siteverify API. Each token is valid for 300 seconds and can be verified only once.
- Rate limiting per IP address on the server.
Avoid image-recognition CAPTCHAs: they are slow on mobile and create accessibility problems.
Measuring form abandonment
Without measurement you cannot tell whether the problem is the form or the traffic. GA4 enhanced measurement can record form_start on the first interaction with a form in a session and form_submit on submission. They are useful as a signal, but to count real leads it is better to send a generate_lead event only when the server confirms the submission, and mark it as a key event as explained in our guide to GA4 key events.
With this data you can calculate three numbers:
- Start rate: sessions with
form_startout of all sessions on the page. - Completion rate: confirmed leads out of
form_start. If it is low, the problem is in the form. - Errors per field: a custom event carrying the name of the field in error shows which question stops people.
Compare the numbers by device: a form that works on desktop and collapses on mobile almost always has a keyboard, autofill or error message problem. For professionals selling consulting, our article on landing pages for consultants and firms shows where the form fits on the page, and the lead generation funnel guide connects form, follow-up and measurement. If you get few enquiries despite decent traffic and want your form reviewed, get in touch.
- form di contatto
- lead generation
- campi form
- form multi step
- messaggi di errore
- antispam
- conversione
- ga4
Frequently asked questions
How many fields should a contact form have?
There is no fixed number. For a simple enquiry, name, email and message are enough, with phone optional. Add closed questions only if you need them to qualify the request before replying.
Does a contact form need a privacy consent checkbox?
To answer the request, usually not: you need a clear privacy notice linked near the button. Consent is needed for newsletters and marketing, with a separate, unticked box. This is not legal advice.
Do multi-step forms convert better?
It depends on the form. They help when there are many questions or qualification steps, starting with easy ones and asking for contact details last. For a three-field form they only add a step.
How do I find where people abandon my form?
Compare form_start events with confirmed leads and log an event for each validation error with the field name. In multi-step forms, measure every step and split the data by device.
Sources
- Marking Required Fields in Forms — Nielsen Norman Group
- Forms Tutorial — W3C Web Accessibility Initiative
- Error message — GOV.UK Design System
- [GA4] Enhanced measurement events — Google Analytics Help
- Turnstile server-side validation — Cloudflare Docs
- Guidelines 05/2020 on consent under Regulation 2016/679 — European Data Protection Board
Related articles
Funnel & Conversion · 7 min read
B2B landing pages: conversion, proof, forms and measurement
A complete method to align campaign and page, clarify value, reduce form friction and measure leads that are genuinely qualified.
Funnel & Conversion · 6 min read
Landing pages for consultants and professional firms: a structure that generates enquiries
How to build a landing page for a consultant or professional firm: headline, trust signals, process, pricing and a form that turns visits into real enquiries.
Analytics & Tracking · 7 min read
GA4 key events: which ones to set up and how to use them in Google Ads
Which events to mark as key events in GA4 for ecommerce and lead generation, how to set value and counting, and how to import them into Google Ads without double counting.
