Form design best practices: rules for forms people finish
Form design best practices: fewer fields, labels above inputs, the right phone keyboards, helpful validation and multi-step forms that people actually finish.
Design, web and motion studio in Dubai
Forms people finish ask for as little as possible, in a single column, with a clear label above each field, the right keyboard on phones, autofill switched on, and error messages that explain the fix without wiping what was typed. Long forms work better split into short steps with visible progress. The same rules apply to a contact form, a booking flow or an in-app sign-up.
Here is each rule with examples, plus a checklist to audit your own forms.
Key takeaways
- Every field costs effort, so remove any you cannot justify and ask for the rest later.
- Put a label above each field and never rely on the grey hint text inside an empty field.
- Use the right input types so phones show the right keyboard and browsers can autofill.
- Check answers when someone leaves a field, explain errors in plain words and never clear what they typed.
Ask for less
Every field is a small cost to the person filling in the form, and each one is a chance to give up. Go through every field and ask two questions: what do we do with this answer, and do we need it now?
- Remove fields nobody uses. If no one ever reads “How did you hear about us?”, cut it.
- Ask later. A phone number can wait until after the first reply; company size can wait until onboarding.
- Combine where you can. A single “Full name” field suits more naming customs than separate first and last names, and it is quicker to fill in.
- Work things out instead of asking. A postcode or ZIP code can fill in the town; a card number reveals the card type.
A short form in practice
The free audit form on the GuruAlpha website asks only for a business name, one link and a WhatsApp number: everything needed to start the conversation, and nothing else.
Layout and labels
- Use one column. People read forms top to bottom; fields side by side make the eye zigzag and fields get missed. Short related fields, such as card expiry date and security code, are the exception.
- Put labels above fields, not beside them. They stay readable on phones and leave room for longer translated text.
- Never use the grey hint text inside an empty field as the label. It disappears as soon as someone types, which hurts anyone who gets distracted, and it is often too faint to read.
- Mark optional fields with “(optional)” rather than marking required ones with an asterisk. Most fields should be required anyway, or removed.
- Size each field to its expected answer: a short box for a postcode, a wide one for an address line.
- Group related fields under small headings, such as Contact details, Delivery address and Payment.
The right keyboard and autofill
On a phone, the keyboard is half the form. Telling the browser or app what each field contains brings up the right keyboard and lets people fill fields from their saved details in one tap. For developers it is a small change; for the person filling in the form it saves a lot of typing.
| Field | Input type and settings | What the person gets |
|---|---|---|
| type='email', autocomplete='email' | A keyboard with @ and a full stop; their saved email offered | |
| Phone | type='tel', autocomplete='tel' | A number pad; their saved number offered |
| One-time code | inputmode='numeric', autocomplete='one-time-code' | A number pad; on many phones, the code from a text message suggested above the keyboard |
| Postcode or ZIP | autocomplete='postal-code', as a text field | Letters allowed for UK and Canadian postcodes |
| Card number | inputmode='numeric', autocomplete='cc-number' | A number pad; a saved card offered |
| Amount | inputmode='decimal' | A number pad with a decimal point |
Two mobile traps
- Keep form text at 16 pixels or larger on mobile websites. iPhones zoom in on smaller fields when tapped, which throws the layout off.
- Do not use type='number' for things that are not quantities, such as card or phone numbers. It can drop leading zeros and adds arrow buttons nobody needs.
Validation and errors
Validation means checking answers and telling people when something needs fixing. The timing matters as much as the wording.
- Check a field when the person leaves it, not on every keystroke. Flagging “Invalid email” after the first letter is discouraging.
- Once a field shows an error, re-check it as they type, so the message disappears the moment it is fixed.
- Show the error next to the field, in words as well as colour, and say how to fix it: “Enter a mobile number with the country code, such as +44 7700 900123.”
- On submit, move to the first error. For longer forms, also list the errors in a short summary at the top.
- Never clear the form after an error. Asking people to type everything again invites them to leave.
- Accept reasonable formats. Allow spaces in phone and card numbers and remove them in the background.
The words in the message
An error message should say what happened and how to fix it, without codes or blame. Our UX writing guide has before and after examples for errors, buttons and confirmations.
Multi-step forms
Long forms, such as bookings, applications and quote requests, are easier to finish when they are broken into short steps with one topic each. People start with the easy questions, and they can see the end approaching.
- Start with the easiest, most relevant question, such as the service needed, not personal details.
- Show progress: “Step 2 of 4”, or a progress bar with labelled steps.
- Let people go back without losing their answers.
- Save progress on long forms, so a closed tab does not mean starting again.
- Show a summary before the final submit, with a link to edit each section.
A real booking flow
The Bin Force One website follows this pattern: Schedule a Service in the header opens a six-step booking flow that starts with the choice of service, and its bin cleaning page checks coverage with a ZIP code before anyone commits.
Accessible forms
Accessible forms are better forms for everyone. Every field needs a real label connected to it in the code, so screen readers announce it. Errors must be described in text, not only shown with a red border. The whole form must work with a keyboard, in a logical order, with a visible focus outline.
WCAG 2.2, the accessibility standard published in October 2023, also asks that people are not made to re-enter information they already gave in the same process, and that logging in does not depend on memory puzzles, which is why allowing password managers and pasting helps. The W3C’s forms tutorial has examples for developers, and our website accessibility basics cover the wider picture.
Audit your forms in 20 minutes
Open your most important form on your own phone and work through this list. Then fill it in, make a mistake on purpose, and see what happens.
Form audit checklist
- Every field has a reason, and optional fields are marked.
- One column, with labels above the fields.
- No grey hint text is doing the job of a label.
- Email, phone and code fields bring up the right keyboard.
- Autofill works for name, email, phone and address.
- Form text is at least 16 pixels on mobile.
- Errors appear next to the field, in words, with the fix.
- Nothing is cleared after an error.
- Long forms are split into steps, with progress shown.
- The button says what happens, and the confirmation says what comes next.
- The form works with a keyboard and a screen reader.
Next steps
For checkout forms in particular, see our guide to checkout design and cart abandonment. If you want a sign-up, booking or quote form redesigned, our UI/UX and app design service can help, and the free website check flags speed and mobile issues on the page around it.
Frequently asked questions
How many fields should a contact form have?
As few as you need to reply well. For most service businesses that is a name, one way to reply (email or phone) and a message or a choice of service. Every extra field should earn its place: if nobody acts on the answer, remove it, or ask for it later in the conversation.
Should form labels be above or beside the fields?
Above, in most cases. Labels above fields are quicker to scan, fit narrow phone screens without changing the layout, and leave room for longer translated text. Labels beside fields can work on wide desktop forms with short fields, but they rarely help on a phone.
Are multi-step forms better than one long form?
For long forms, often yes. Breaking a booking or application into short steps with one topic each feels lighter, lets you start with easy questions and lets you save progress. For short forms of three or four fields, a single step is better, because splitting them only adds taps.
When should form validation happen?
Check each field when the person moves on to the next one, then re-check as they correct it, so the error clears straight away. Avoid flagging errors while someone is still typing. Always check again on submit, move to the first error, and keep everything they entered.
The Dawnwire Agency Deck
Our process, what each service includes, how we price and hand over, and a selection of real client work, in one free deck.