UI & UX

Form Error States

Designs accessible, recoverable validation and submission errors that never discard what the visitor typed.

What it does

Designs accessible, recoverable validation and submission errors that never discard what the visitor typed.

When to use it

Use for inline validation, error summaries, server failures, or auditing vague and inaccessible errors.

Problems it prevents

Stops a form clearing itself and showing a vague error after a failed submission.

Typical workflow

  1. Define the error model (inline vs summary)
  2. Preserve entered values on failure
  3. Manage focus to the first error
  4. Write specific, actionable error copy

Example output

A form that keeps every typed value after a failed submit, with focus sent straight to the first real problem.

What's included

  1. 01
    The complete prompt

    The full manual as a ready-to-save SKILL.md file, matched exactly to what ships in the T7 library.

  2. 02
    Install walkthrough

    Personal (~/.claude/skills/) and project (.claude/skills/) folder instructions, whichever fits how you work.

  3. 03
    Use notes

    How Claude invokes it, what a good result looks like, and what to check before you trust the output.

Installation

Save the manual as SKILL.md in ~/.claude/skills/form-error-states/ to use it on every project, or in .claude/skills/form-error-states/ to scope it to one repository. Then invoke it directly:

/form-error-states

Read the official Claude Code skills guide

Works well with

Save by bundling

Get Form Error States as part of Conversion Builder: five skills that work together as one toolkit, for £1.96 less than buying all five separately.

View Conversion Builder (£9.49)