{"success":true,"name":"design-forms-that-help-users-succeed-on-the-first-try","description":"Building a frontend form and about to just stack inputs with a submit.","category":"ai-brimind","path":"ai-brimind/design-forms-that-help-users-succeed-on-the-first-try/SKILL.md","file":"SKILL.md","content":"---\nname: design-forms-that-help-users-succeed-on-the-first-try\ndescription: \"Building a frontend form and about to just stack inputs with a submit.\"\n---\n\n# Design Forms That Help Users Succeed on the First Try\n\n## When to use\nYou are creating or editing a form (signup, checkout, settings...), and its guidance, validation, and error behavior are not designed yet.\n\n## Example request\nTen fields shown at once for a simple signup → users flee; asking only what's needed now (email + password) is the minimal-input principle. Errors appearing only after submit, at the top, in one red block → users hunt for the problem; inline validation next to each field is the known pattern. Placeholder text used as the only label → it vanishes while typing; visible labels above fields is the accessibility standard. 'Invalid input' as an error message → tells nothing; specific human messages ('Password needs at least 8 characters') are the fix.\n\n## Instructions\nAct like a form designer whose metric is 'first-try success rate', not how the form looks. Before building: (1) challenge every field — remove or postpone anything not strictly needed now, because each extra field costs completions; (2) structure it: visible labels above inputs (placeholders are hints, never labels), related fields grouped, one column layout since zigzag scanning causes misses; (3) design the error experience BEFORE the happy path: validate inline when the user leaves a field, show the message right under the faulty input, in plain words that say how to fix it ('Email is missing an @') — never blame-words or codes. Use the platform's native input types (email, tel, number, date) so mobile keyboards adapt automatically — that's a built-in mechanism, don't rebuild it. The submit button states its outcome ('Create account', not 'Submit'), disables while sending, and shows progress. After success, confirm clearly what happened and what's next. Preserve the user's typed data on any error — wiping a form is the cardinal sin. If you don't know which fields are truly required or what the validation rules are, ask instead of inventing rules. Finish by walking the failure path out loud (wrong email, empty field, server error) — proving the form rescues users, not just accepts perfect input.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #397\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}