Forms
Designing inputs that are quick to fill in and hard to get wrong.
Forms are where users give the product information, and where many of them give up. Good forms ask only what is needed, use the right input types and validate helpfully. Most form problems are fixable in an afternoon by an engineer who knows the basics.
Why it matters for a product engineer
Forms are where people give a product information, and where many of them give up. Most form problems are small: a missing label, the wrong keyboard, an error shown in the wrong place. An engineer who knows the basics can fix most of them in an afternoon.
How to do it
- Ask only for what you need now. Every field must have a reason, and the user should see it.
- Put labels above the fields, and keep them visible while people type. Do not use placeholder text as a label.
- Use the right input type, so phones show the right keyboard, and support autofill.
- Size each field to its expected answer. NN/g found that 99.9% of 2,130 city names fit in 19 characters.
- Validate after people finish a field, not while they type. Show the error next to the field, and keep what they typed.
- Mark the optional fields, or better, remove them.
Common mistakes
- Asking for everything at sign-up “because we might need it”.
- Clearing the whole form after one error.
- One field for things people think of as separate, or several fields for one thing.
- Buttons that say “Submit” instead of what will happen.
Example
Zernio gives two connected accounts free, with no card. It asks for a card only when someone connects X, because X’s API is paid. The form asks for payment at the moment the reason is clear to the user. (Zernio in In practice)
People who sent a form without errors at the first try
- 78%
- Forms that follow basic usability guidelines
- 42%
- Forms that break them
Following the basics almost doubled the share of people who got through at the first try. Completion time also fell.
ReportedSeckler and colleagues, CHI 2014, as reported by NN/g
Sources: Website forms usability: top 10 recommendations (NN/g) ↗ · Few guesses, more success: 4 principles to reduce cognitive load in forms (NN/g) ↗
Resources
2- articleStart here
Website forms usability: top 10 recommendations ↗
NN/g · 2016 · 9 minTen concrete rules for forms that people finish, from labels to error placement.
- articleGo deeper
Few guesses, more success: 4 principles to reduce cognitive load in forms ↗
NN/g · 2025 · 15 minHow to make forms ask less of people's memory and attention, with progressive disclosure as one tool.