Why the form failed

Screens rarely fail in interesting ways. A handful of the same faults explains almost all of them, and each one can be checked without knowing how any of it was built.

  • Lesson 4 of 10
  • 7 min

The scene

Jassim asks to see the first version of the claim screen again, and Fatima puts it up so they can read it line by line. He fills it in as a driver would and presses Send. Nothing happens: no message, no sign that anything left the screen. He presses again, and the claim later turns up twice in the finance queue. His third attempt returns a line in red at the top of the page, invalid input, with nothing to say which of the nine fields it means. The field turns out to be the date, typed as digits here and picked from a calendar on the leave screen. When the claim finally goes through there is no way to take it back. Fatima writes the four faults on the board and says they account for most of the eleven claims that came back by email.

The idea

Say what happened

A person who acts on a screen is owed an answer. is the system saying, at once and where the person is already looking, that it has the request, that it is working, and how it ended. The first is the one most often missing. A button that does nothing visible for two seconds cannot be told apart from a broken one, and a capable adult presses it again: one claim becomes two.

The answer has to be specific enough to act on. Claim received, it is with your manager ends the matter; a moving bar with no words ends nothing.

A message is an instruction

An has one job: to get the person to the finished state. That needs three things — which field, what is wrong, and what to do instead — in the words the person uses, next to the field, and without blame. Invalid input has none of the three. The date can be typed as day, month, year has all of them.

The better move comes earlier: prevent the error rather than report it. A screen that accepts the date in either form removes the message altogether. So every message put in front of you is worth one question: could the screen have made this mistake impossible?

The same thing, the same way

is one thing working one way wherever it appears: one word for one action across the portal, one kind of control for one kind of data, the main action in the same place on every screen. It is dull, and worth more than most features, because it lets someone who has learned one screen use the next without learning it.

Its opposite is not ugly, it is expensive: two date controls mean two habits, two sets of mistakes and two lines in the help-desk log.

Let people undo

Anything a person can do by accident they should be able to take back: a claim withdrawn before anyone has acted on it, a draft recovered, a step left without losing what was typed. A confirmation box is weaker, because people learn to dismiss it unread; an undo works on the person who has already made the mistake.

It resembles a counter clerk who takes your form, stamps it and says received, come back on Tuesday: you leave knowing where the thing is. The comparison stops at the clerk's judgement: she sees you hesitate and explains unasked. A screen says only what somebody wrote for it in advance, which is why these rules are checked rather than hoped for.

After the button Two columns compared. On the left, a screen that says nothing: Send is pressed, no sign of anything, so it is pressed again and two claims arrive. On the right, drawn stronger, a screen that answers: Send is pressed, the claim is received and numbered, it is with your manager and can be tracked. Two notes say that silence and failure look the same, and that an answer says what happened and what comes next. After the button Nothing is said Send is pressed No sign of anything Pressed again, two claims arrive The screen answers Send is pressed Received, numbered With your manager, you can track it Silence and failure look the same An answer says what happened and what is next

What this gives you to check

  1. After every action, does the screen say what happened and what comes next?
  2. Does each message name the field, the problem and the fix?
  3. Does the same thing behave the same way on every screen?
  4. Can a person take back what they did by accident?

Where this fits

These four faults are the commonest and the cheapest to find, and none needs technical knowledge. The next lesson is about colleagues who cannot get past a screen even when all four are right.

Check yourself

A purchase-request screen is put in front of Jassim. Pressing Send greys the button out, then the page returns to the top of an empty form, with a note in the corner saying the request was sent. What is most useful to say?

Use the arrow keys to read the options, then press Space to answer.

Type a lesson, an idea or a job. English words work in Arabic too.