Form archetype — Validation error
Drawn ONCE for the form archetype. Every page that declares
data-archetype="form" inherits this file unless its own State variants section names one that overrides it.
SaveCancel
The other floor states of this archetype
⚠
Three fields need attention
The summary lists every field that failed, each one a link to the field itself. The values already typed are kept — a form that clears itself on a refusal is a form people stop using — and the first failing field takes focus.
SaveCancel
What stays on the screen
The header, the summary at the top, every field with its value, and the message under each failing field.
Every floor state carries at least one way out. A state a user can reach and cannot leave is the defect this set exists to prevent.