Practical form design best practices: fewer fields, clear labels, inline validation, helpful errors and mobile input types that cut abandonment.
In this article
- Start by deleting fields
- Write labels and help text people can scan
- Match the input to the data, especially on mobile
- Validate helpfully, not aggressively
- Write error messages that tell people how to fix the problem
- Reduce effort in long and multi-step forms
- Common mistakes to avoid
- Measure, then improve
- What to do next
The best way to reduce drop-off in a form is to ask for less, label every field clearly, validate helpfully as people go, and make errors easy to fix. Most abandoned forms fail for ordinary reasons: too many questions, unclear wording, confusing errors, or awkward behaviour on a phone. None of these needs a redesign of your whole site. They need careful attention to the form itself.
This guide walks through the decisions that matter most, in the order you would normally work through them. It is written for product owners, marketers and developers who share responsibility for sign-up, checkout, enquiry and onboarding forms.
Start by deleting fields
Every field adds effort and a reason to leave. Before you polish anything, list each field and ask three questions: do we need this to complete the action, do we need it right now, and can we find it out some other way?
- Required to complete the action: an email address for a newsletter, a delivery address for a parcel.
- Needed right now: a date of birth for an age check, but not for a general enquiry.
- Available elsewhere: a country can often be inferred from a postcode or an address lookup, and a company name from a work email domain.
Be cautious with optional fields. People still read them, still hesitate over them, and still wonder whether leaving them blank will count against them. If a field is optional and you rarely use the answer, remove it. If you do keep it, mark the optional ones, rather than marking every required one with an asterisk, when most of the form is required.
There is also a data protection angle. Under GDPR, the principle of data minimisation says you should collect only what is adequate and relevant for your stated purpose. A shorter form is often both better UX and easier to defend. The Data Protection Commission (DPC) is the place to confirm current guidance for Irish organisations. This is general information only.
Write labels and help text people can scan
A label tells someone what to enter. Help text tells them how, but only where needed. Get these right and half your error messages disappear.
- Put labels above fields. A single-column layout with labels above is the easiest to scan on any screen size and works well with zoom and screen magnifiers.
- Use visible labels, not placeholders. A placeholder vanishes when typing starts, so people forget what the field asked for. Reserve placeholders for a short example such as a date format.
- Use plain wording. Write "Phone number" rather than "Primary contact telephone".
- Explain why when you ask for something sensitive. A short line under a phone number field, such as "Only used if there is a problem with your delivery", can remove hesitation.
- Keep related fields together. Group address fields, and use clear headings for each group.
Avoid splitting simple values across several boxes. A single field for a full name is usually kinder than first and last name boxes, particularly for people whose names do not fit that pattern. Likewise, let people type a phone number with spaces or a plus sign and clean it up in code afterwards, rather than rejecting it.
Match the input to the data, especially on mobile
On a phone, the right keyboard saves time and prevents mistakes. HTML gives you most of this for free if you use the correct attributes.
| Data | Useful attributes | Why it helps |
|---|---|---|
| Email address | type="email", autocomplete="email" | Shows an email keyboard and enables autofill |
| Phone number | type="tel", autocomplete="tel" | Shows a numeric keypad |
| Verification code | inputmode="numeric", autocomplete="one-time-code" | Numeric keypad and code suggestion from messages |
| Postcode or Eircode | autocomplete="postal-code" | Autofill from saved addresses |
| Password | type="password", autocomplete="current-password" or "new-password" | Lets password managers help |
Make inputs at least 16px in size so mobile browsers do not zoom the page on focus, and keep tap targets comfortably large. The MDN documentation on the autocomplete attribute lists the standard tokens, and it is worth using them: autofill can turn a two-minute address form into a few taps.
Avoid custom controls where a native one works. A native date picker or select element is usually more accessible and more predictable than a styled replacement. If you do need a custom component, test it with a keyboard and a screen reader. Our guide to web accessibility basics for developers covers the checks worth running.
Validate helpfully, not aggressively
Validation should feel like a helpful colleague, not a hall monitor. A few principles cover most cases.
- Validate on blur, not on every keystroke. Telling someone their email is invalid after they type the first letter is irritating. Wait until they leave the field.
- Clear errors as soon as they are fixed. Once the problem is resolved, remove the message immediately so the person gets quick confirmation.
- Be tolerant on input. Accept spaces in card or phone numbers, mixed case in email addresses, and a missing country code where you can infer it.
- Validate again on the server. Client-side checks are for convenience. Anything that matters for security or data integrity must be checked on the server too.
- Preserve what was typed. If a submit fails, never clear the form. Losing input is one of the fastest ways to lose a customer.
Password rules deserve special mention. Show requirements before the person starts typing, and let them see the password if they choose. If you are building the sign-in flow itself, see our article on how to build a secure login system.
Write error messages that tell people how to fix the problem
A good error message states what went wrong, where, and what to do about it, in plain language and without blame. Compare these:
- Poor: "Invalid input."
- Better: "Enter an email address in the format name@example.com."
- Poor: "Error 422."
- Better: "We could not save your changes. Check the highlighted fields and try again."
Place the message next to the field it concerns, in text, not just in colour. Someone who is colour blind or using a screen reader needs more than a red border. Associate the message with the field using aria-describedby, and when a submit fails, move focus to a summary at the top or to the first invalid field so keyboard users are not left searching.
We cover the wider topic of messages and blank screens in designing empty states and error messages, which pairs well with this section.
Reduce effort in long and multi-step forms
Some forms are long by nature: applications, onboarding, checkout. Here the aim is to make the length feel manageable and recoverable.
- Break it into logical steps with a short heading and a clear indicator of progress, such as "Step 2 of 4".
- Save progress where the task is long, so a phone call or a lost connection does not wipe everything.
- Show a review step before final submission for anything important or hard to reverse.
- Offer guest checkout or delayed account creation. Forcing registration before the first purchase or enquiry is a classic cause of abandonment.
- Use conditional logic. Show a follow-up question only when an earlier answer makes it relevant.
- Make the primary button specific. "Send enquiry" or "Create account" is clearer than "Submit".
Whether multi-step beats a single page depends on your audience and on how long the form really is. Treat it as something to test, not a rule. Our piece on how to run a quick usability test shows a lightweight way to find out.
Common mistakes to avoid
- Using placeholder text as the only label.
- Disabling the submit button without saying why. Allow the click and show what is missing instead.
- Clearing the form after an error.
- Using CAPTCHA puzzles by default. Try invisible checks, rate limiting and honeypot fields first, and keep any challenge accessible.
- Putting fields side by side on mobile, which hides the labels or makes them tiny.
- Asking for the same information twice, such as a billing and a delivery address that are usually identical.
- Forgetting the confirmation. After submission, say clearly what happens next and when.
Measure, then improve
You cannot fix what you cannot see. Basic form analytics can record how many people start the form, which field they last touched before leaving, how long each field takes, and how often each field produces an error. A field with a high error rate has a wording or format problem. A field where many people leave has a trust or effort problem.
Pair the numbers with observation. Watching five people complete the form in person or on a call tends to reveal issues no dashboard will. If your form feeds a customer database, also check that what you collect lines up with what your CRM integration needs, so you are not capturing fields that nobody uses downstream.
What to do next
- Audit your most important form and remove every field you cannot justify.
- Check labels, input types, autocomplete attributes and error messages against the lists above.
- Test the form on a real phone, with a keyboard only, and with a screen reader.
- Add field-level tracking so you can see where people stop.
- Change one thing at a time and compare results.
If you would like help with this, the CloudWiss team in Dublin can talk it through as part of our UI/UX and product design work.
Share this article
General educational information, not legal or professional advice for your specific situation.
