Objective: Test a form the way it can actually fail — rule by rule — and finish the submission story where finishing is safe.
⏱ ≈53 min full lesson · English edition — Español · العربية · বাংলা in translation
B-09 proved a form exists and accepts input. Production forms fail richer: validators accepting garbage, real numbers rejected, errors naming the wrong field. The working artifact is a VALIDATION MATRIX: rows = fields, columns = probes.
Five probes per field: VALID input accepted? EMPTY — required enforced, clear message? WRONG SHAPE — letters in a phone field, rejected how? BOUNDARY — exact max, one over, unicode, apostrophes (O'Brien breaks more forms than hackers do). ERROR QUALITY — next card.
Assert three things about every error: it's ATTACHED to the right field (screen readers get it via the same link, B-13), it's SPECIFIC (“email needs an @ and a domain” beats “invalid input”), and it CLEARS when the input is fixed. Stale errors are bugs users hit daily and suites miss for years.
LIVE: presence, input, toggling, client-side validation that fires WITHOUT submitting — the never-submit rule (B-09) is absolute. STAGING: the full story — submit with test data, land in the staging CRM, verify confirmation, clean up (A-03).
Consent isn't a formality: unchecked BY DEFAULT (pre-ticked consent is a compliance failure in many jurisdictions), label text matching the approved wording, and submission with consent REFUSED actually blocked — observable on staging, not assumed.
Build the matrix for a 4-field form: 4 fields × 5 probes = 20 cells. Mark each L (honestly live-testable) or S (staging only). Empty S column = you missed the submission story. A submission in the L column = you broke the rule.
Forms, fully. Next: data sources — sheets, databases, and factories.