03.2.2 · Skill in Interaction design

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.

Your status · Forms

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

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

  1. Ask only for what you need now. Every field must have a reason, and the user should see it.
  2. Put labels above the fields, and keep them visible while people type. Do not use placeholder text as a label.
  3. Use the right input type, so phones show the right keyboard, and support autofill.
  4. Size each field to its expected answer. NN/g found that 99.9% of 2,130 city names fit in 19 characters.
  5. Validate after people finish a field, not while they type. Show the error next to the field, and keep what they typed.
  6. 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)

Numbers

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