# 7.8 Keep entered data on back and on error

> Chapter 7, Flows. Section: Progress and entered data. Guide: https://www.designguide.dev/md/07-flows.md#keep-entered-data-on-back-and-on-error

Hard

**Rule:** Keep everything the person entered when they go back or when a step fails.

**Why:** Typing again is the cost people refuse to pay. Lost data breaks trust.  **When not:** Do not keep a draft of sensitive input, such as a one-time code.

- Keep the data for the whole session, not only the current screen.
- Restore the position in a long form as well as the values.
- Offer Resume and Start over when the person returns.

**Picture:** Flow: 1. Fill in the form. 2. The error keeps values. 3. Back and return: values stay.
