# 8.6 Name the cause and the fix, in place

> Chapter 8, States. Section: Errors, validation, and disabled controls. Guide: https://www.designguide.dev/md/08-states.md#name-the-cause-and-the-fix-in-place

Default

**Rule:** Show an error next to the thing that failed, and name the cause and the fix.

**Why:** A distant message makes the person search. A message that only says "failed" gives no fix.  **When not:** A failure of the whole screen, such as no connection, uses a banner.

- Put a field error under the field, with an icon.
- Write the words as in [Rule 9.5](https://www.designguide.dev/r/write-an-error-in-3-parts.md).
- Use a dialog only to block or confirm ([Rule 4.5](https://www.designguide.dev/r/choose-the-container-by-task-size.md)).

**Picture:** Do: The error sits under the field and the person fixes it there. Don't: A dialog holds the error and covers the form.

**See:** [9.5 Write an error in 3 parts](https://www.designguide.dev/r/write-an-error-in-3-parts.md), [4.5 Choose the container by task size](https://www.designguide.dev/r/choose-the-container-by-task-size.md)
