Form Design Best Practices: 10 Rules for Web and Mobile
The 10 rules for designing forms that convert. Real teardowns of Notion, Tally, and Mercury sign-up flows, plus mobile-first patterns that actually work.

Form Design Best Practices: 10 Rules for Web and Mobile
The cost of a bad form
A bad form is a strategy tax on every dollar you spent getting someone to the page. Every extra field, confusing label, and unclear error is a place where someone gives up. Remove the friction and more of the people you already paid to reach finish the form.
The gap is almost never copy or branding. It's the ten rules, applied consistently.

Salesforce-style 30-field lead forms exist because someone mapped a database schema onto a page and called it a form. The user didn't sign up for that. They showed up for the product, and your qualification logic cost you the lead.
Rule 1: One column, one task per screen
One column, always. Multi-column layouts feel efficient in a Figma grid and kill completion rates on a screen.
The eye reads left to right and expects continuity. When fields split into two columns, the user has to decide which path to follow, and that micro-decision adds friction before they've typed a single character.
Notion's sign-up flow is a single centered column with one field promoted at a time on mobile. The form feels fast because it asks for one thing. That's the rule.
Rule 2: Label position matters more than label style
Labels go above the field. Not inside it, not to the side. Above, always visible.
Placeholder text used as a label disappears the moment the user starts typing. At that point they have to clear the field to remember what they're filling in. Mercury's onboarding flow uses persistent above-field labels on every input so context is never lost mid-fill.

Floating labels, which animate up from placeholder position on focus, are an acceptable middle ground, but they require tight contrast and careful timing to be accessible. When in doubt, put the label above and leave it there.
The UX research behind label placement is covered in depth in our guide to UX research methods.
Rule 3: Field order follows user reality, not database schema
The sequence of your fields should match how a person thinks about the task, not how engineers structured the data model.
A checkout form that asks for shipping address before confirming the cart puts the burden of context on the user. Stripe Checkout, the canonical reference for hosted-checkout form UX, sequences the form in three steps:
- Email (who are you)
- Payment (how will you pay)
- Address (where does it go)
That's the sequence a reasonable human would use in person. When the database drives the field order, you get forms that ask for a zip code before a country, or a job title before a company name.
Rule 4: Validate inline, never on submit
Validate the field the moment the user leaves it, not when they hit submit.
Submit-time validation means the user fills out a ten-field form, hits the button, and gets a wall of red errors. Every error is a correction task, and every correction task risks losing them entirely. Inline validation, triggered on blur, surfaces the error before the user moves on.
Apple ID sign-in validates email format on blur and confirms account availability before the submit button is ever active. That sequencing prevents two categories of error at once. The interaction patterns behind this are covered in our microinteraction design guide.
Rule 5: Mobile-first means mobile keyboards
Every field type should summon the correct keyboard. That's 80% of mobile form design.
If a field asks for a phone number and the default text keyboard appears, the form is broken before the user types anything. Use inputmode="numeric" on numeric fields, type="email" to surface the @ key, and inputmode="decimal" for prices. iOS and Android both support the full range of input modes.
The keyboard is the primary input device on mobile. Specifying the wrong one turns a correctly designed visual form into a frustrating one.
| Field Type | Correct HTML Attribute |
|---|---|
type="email" | |
| Phone | type="tel" |
| Whole number | inputmode="numeric" |
| Decimal / price | inputmode="decimal" |
| URL | type="url" |
| Search | inputmode="search" |
For the broader mobile-first foundation these patterns sit inside, see responsive web design fundamentals.
Rule 6: Progress, microcopy, and the long-form problem
If the form requires more than five fields, show the user where they are in the flow.
Airbnb's multi-step booking flow shows a progress indicator with named steps throughout. People who can see how far along they are know what is left, and a form with no reference point leaves them guessing.

Tally takes a different approach for its embeddable forms: one question at a time with a persistent progress bar at the top, so each screen asks for one small thing and the bar shows how much is left.
Microcopy does the same work. "Step 2 of 4" is more honest than a bare progress bar. "We need this to verify your identity" is more useful than an unlabeled sensitive field.
Rule 7: Error messages are instructions, not accusations
Write error messages in the imperative, not the accusation.
"This field is required" is an accusation. "Enter your email address to continue" is an instruction. The user already knows something went wrong. What they need is the fix.
The best error copy names the exact condition and the exact action: "Password must be at least 8 characters and include one number." Stripe Checkout does this precisely. The message appears on blur, names the problem, and disappears the moment the condition is resolved.
There's no lingering red state. It just works.
Rule 8: Autofill is a feature, not an afterthought
The autocomplete attribute tells the browser exactly what to fill. Use it on every field.
A checkout form with correct autocomplete attributes lets a phone fill saved data in a tap. Without them, the user types everything by hand, and a long checkout on a small keyboard is where people quit. Adding the attributes costs nothing. The UI component library guide covers how to bake these attributes into your design system's form components so they're never missing.
| Field | autocomplete Value |
|---|---|
email | |
| First name | given-name |
| Last name | family-name |
| Phone | tel |
| Street address | street-address |
| City | address-level2 |
| Postal code | postal-code |
| Card number | cc-number |
| Card expiry | cc-exp |
Rule 9: The submit button decides everything
The submit button is the contract. Its label, state, and position signal whether the user can trust what happens next.
A grayed-out button with no explanation tells the user the form is broken but not why. That's a dead end. A button labeled "Submit" tells the user nothing about what they're agreeing to.
"Create my account," "Get my free trial," and "Start building" are all more honest. Disable the button only when you can explain the reason in the UI. Tally uses action-specific button copy on every step in its form builder, so the label always says what the next tap does.
Rule 10: Test with real thumbs, real data, real latency
Testing a form on a desktop browser over fast wifi tells you nothing meaningful about whether it works.
Test on a mid-range Android device on a 4G connection with real-length data in every field:
- A name with an accent character
- An address with an apartment number on line two
- A 22-character email
- A 1-character first name
Real-world edge cases break forms that look clean in Figma. Real latency reveals whether validation calls are blocking input or running asynchronously. That distinction is invisible in a browser simulator and catastrophic on a phone with two bars of signal.
Need a form audit on your sign-up, checkout, or onboarding flow? Brainy runs the full ten-rule audit on real screens, real data, and real conversion numbers.
Six fixes that make a form look senior
Ten rules is a lot to hold in your head at a desk. These six are the ones people see first. Each pair below is the same form, built twice: the junior habit on the left, the senior fix on the right.
1. One column, with one exception
Junior: two columns

Senior: one column

Two columns split the eye between a left path and a right path, and the narrow fields clip what people type (the email above is cut off). One column gives a straight line down. Nielsen Norman Group (NN/g) allows one exception: short fields that belong together, such as City, State and ZIP, can share a row.
2. Size each field to its answer
Junior: every field full width

Senior: width matches the answer

A field is a hint about the answer it expects. The card number gets the full width, the expiry and the security code get a short box each, and the ZIP gets a short one too.
NN/g's advice is that text fields should be about the size of the expected input, so people can see their whole entry. In its study of 2,130 conference participants, 99.9 percent of city names were 19 characters or shorter, so a city box never needs to be wider than that. Stripe's checkout is the model: a long card number box with the expiry and code joined under it.
3. Two or three choices? Show them all
Junior: a menu

Senior: radio options

A menu hides the options behind a tap, and then makes people tap again to choose. With only three delivery options, show all three with the price and the time on each row.
People compare without opening anything, and the choice takes one tap. NN/g puts it plainly: avoid drop-downs when only 2 or 3 options could be displayed as radio buttons. With many options, the menu earns its place again.
4. Mark what is required, and label the optional ones
Junior: no marks

Senior: asterisk and Optional

Without a mark, every field looks equally important, and people guess. An asterisk on the required fields is the cheapest usability fix on this list, according to NN/g.
Labeling the optional fields too lightens the load, because nobody has to wonder. Keep the optional ones to one or two. If almost every field is required, flip it: mark only the exceptions as Optional and skip the asterisks.
5. Leave out the Clear button
Junior: Clear next to Create account

Senior: one button

Nobody needs to wipe a form they just filled in. A Clear button sits within thumb reach of the main button, and one slip erases everything.
NN/g's verdict is that the risk of accidental deletion outweighs the unlikely need to start over. If a form needs a second way out, make it a quiet Cancel link, never a button the same size as the one you want pressed.
6. Show the password
Junior: dots, typed twice

Senior: visible, with a Hide toggle

Dots plus a Confirm field is two chances to mistype a password nobody can see. Show the password as it is typed, give people a toggle to hide it, and drop the second field.
Jakob Nielsen's case in Stop Password Masking is that people make more errors when they cannot see what they are typing, and that it is time to show most passwords in clear text. The Hide toggle covers the person typing on a train. A line under the field that says what the password achieves (here, 14 characters, looks strong) beats a list of rules.
| Junior habit | Senior fix | Why |
|---|---|---|
| Two columns | One column, short related fields may share a row | One straight path down |
| Every field full width | Width matches the answer | People see their whole entry |
| Menu for 2 or 3 choices | Show every option | One tap, no hidden choices |
| No marks | Asterisk on required, Optional on the rest | Nobody guesses |
| Clear button | No Clear button | One slip cannot wipe the form |
| Dots, typed twice | Visible password with a Hide toggle | Fewer typing errors |
A senior form asks for less work, not more fields.
Where designers still ship the worst forms
The worst forms in production today share three patterns:
- Enterprise sales lead forms: Salesforce-style 30-field qualification screens with mandatory "annual revenue" selectors and no inline validation
- Multi-step onboarding flows that don't save progress: a phone call on step 7 of 9 sends the user back to step 1
- Checkout flows built before mobile was primary, never rebuilt: every numeric field still uses
type="text"because "it works fine on desktop"
The error state choices in all three cases also tend to fail contrast requirements; accessible color contrast patterns fix that specific failure point.
The common thread in all three: the form was designed for the system, not the person filling it in. The fix is the same.
Run the ten rules. Start with mobile. Let the database sort out its own schema.

FAQ
How many fields should a form have?
As few as the outcome requires. The right number is the number where removing one more would break the product. Every field you add reduces completion rate. Start from zero and add only what is mandatory.
Should I use multi-step or single-page forms?
For more than five fields, multi-step almost always outperforms single-page. The requirement is visible progress. Without it, multi-step forms perform worse than single-page because the user has no idea how long the journey is. Name the steps and show where they are in the sequence.
What is the best way to mark required fields?
Mark optional fields, not required ones. If most fields are required (which they should be, given the rule above), marking every field with a red asterisk is visual noise.
Mark the exceptions. "Optional" beside a field is meaningful information. An asterisk beside every field is not.
How do I handle password requirements without punishing the user?
Show requirements before the user starts typing, not after they fail. A small checklist that activates as each condition is met performs better than a post-submit error wall. Apple ID and most current auth flows use this pattern. The feedback is live, positive, and never punitive.
Does field width communicate anything?
Yes, and users read it. Field width signals expected input length. A short field signals a short answer. A full-width field signals a longer one.
Match field width to expected input length where the layout allows. A zip code field at full width looks like a mistake. A text area for a street address looks like overkill. Match the container to the expected content.
What causes the most mobile form abandonment?
A wrong keyboard type and autofill that does not work are two common causes. Both are silent failures: the form looks correct, the user just can't complete it efficiently.
Fix both with two attributes per field: the right type and the right autocomplete value. It is a small change you can make in one sitting.
Sources
- NN/g, Website Forms Usability: Top 10 Recommendations (Kathryn Whitenton, 2016): single column, field size matched to the expected input (2,130 participants, 99.9 percent of city names 19 characters or shorter), no drop-downs for 2 or 3 options, optional fields labeled, no Reset or Clear buttons.
- NN/g, Marking Required Fields in Forms (Raluca Budiu, 2019): an asterisk on required fields, and labeling optional ones lightens the cognitive load.
- NN/g, Stop Password Masking (Jakob Nielsen, 2009).
- Stripe Checkout and Stripe sign-up, measured 2026-11-04: card number full width with the expiry and code joined under it, labels above the fields.
- The names, the company, the phone number, the delivery prices and the password in the pairs are invented. 4242 4242 4242 4242 is a public test card number, not a real card.
- First published as a carousel on UX Brainy.
Get new papers by email
New Brainy papers in your inbox. Confirm once, unsubscribe anytime.





