Form validation
Errors show after you leave a field, in plain words, next to the field.
How it behaves
- Fields check themselves when you leave them, not while you type.
- On submit, a summary lists every problem and focus moves to the first one.
- Each error is linked to its field so screen readers read it out.
- Rules are plain functions; swap them for your schema library.