What the person is doing
A form, editor, checkout, upload, import, authentication, or configuration screen validates user-entered values on blur, submit, save, retry, or server response.
Quality check · lesson 23 of 23 · Error Prevention And Recovery
Underlying principle: Recovery begins before the error. Clear consequences, suitable constraints, preserved work, and a visible correction path reduce the cost of a mistake.
Preserve all safe user-entered values through validation, server rejection, retry, and recovery; show precise field-level errors and summaries, keep raw and formatted values distinguishable, and clear only narrow sensitive values with explicit reason and recovery guidance.
Recovery begins before the error. Clear consequences, suitable constraints, preserved work, and a visible correction path reduce the cost of a mistake.
A form, editor, checkout, upload, import, authentication, or configuration screen validates user-entered values on blur, submit, save, retry, or server response.
Preserve all safe user-entered values through validation, server rejection, retry, and recovery; show precise field-level errors and summaries, keep raw and formatted values distinguishable, and clear only narrow sensitive values with explicit reason and recovery guidance.
Initial typed state with values entered across multiple fields.
Which values survive client validation, server validation, retry, reload, and session return?
Validation messages name the problem and leave the user's value in place for editing.
A form, editor, checkout, upload, import, authentication, or configuration screen validates user-entered values on blur, submit, save, retry, or server response.
The full lab is intentionally loaded on request. That keeps this reading page fast while preserving the strong and weak states, keyboard checks, and failure scenarios.
A form, editor, checkout, upload, import, authentication, or configuration screen validates user-entered values on blur, submit, save, retry, or server response.
Preserve all safe user-entered values through validation, server rejection, retry, and recovery; show precise field-level errors and summaries, keep raw and formatted values distinguishable, and clear only narrow sensitive values with explicit reason and recovery guidance.
Initial typed state with values entered across multiple fields.
Failed validation empties the invalid field.
Preserved values must remain in their controls so screen reader and keyboard users can edit them in place.
Government Digital Service - checked
GOV.UK error message guidance supports preserving entered answers while showing clear field-level correction text.
Government Digital Service - checked
GOV.UK error summary guidance supports linked submit-time recovery after the form is rendered with field errors.
U.S. Web Design System - checked
USWDS form-template guidance supports aligned validation, field grouping, required indicators, and accessible recovery.
GOV.UK Design System - checked
GOV.UK text input guidance supports value, label, hint, error, and described-by wiring for preserving and correcting field input.
GOV.UK Design System - checked
GOV.UK textarea guidance supports value, label, hint, error, and length-related validation for multi-line text.
GOV.UK Design System - checked
GOV.UK password guidance supports the boundary case where failed login clears a password while preserving non-secret context.
Source trail checked: