IntermediateUI DesignFree prompt

Form Design System: Validation, Error Handling, and Accessibility

Create a comprehensive form design system covering input patterns, real-time validation, error messaging, and accessibility requirements for web and mobile forms.

Design a form system that minimizes user errors, provides clear feedback, and ensures all forms are accessible to users with disabilities while maintaining visual consistency.

At a glance

Access

Free prompt

Open to copy — no account or payment needed.

Prompt objective

Design a form system that minimizes user errors, provides clear feedback, and ensures all forms are accessible to users with disabilities while maintaining visual consistency.

Real use case

A government services portal has 35 different forms with inconsistent validation patterns — some validate on blur, some on submit, some not at all. Error messages are technical and unhelpful. Form abandonment rate is 62%.

Customize these fields first

PRODUCT NAMENUMBER

Replace the placeholders with your own context before you run the prompt. That usually improves the first output more than adding more instructions later.

Prompt

Design a complete form design system for [PRODUCT NAME], which contains [NUMBER] forms across web and mobile platforms.

**Input Component Library:**
For each input type, define:
- Text input (single line, multi-line/textarea)
- Select/dropdown (single, multi-select)
- Radio buttons and checkboxes
- Date picker and time picker
- File upload (drag-and-drop, browse)
- Toggle/switch
- Search input with autocomplete
- Phone, email, URL, number inputs

**For each input type, specify:**
- Default state appearance
- Focus state (visible focus ring, 3:1 contrast)
- Filled state
- Error state (border color, error message placement, icon)
- Success state (optional)
- Disabled state
- Helper text placement
- Character/word count display
- Required field indicator

**Validation Strategy:**
- Inline validation: on blur vs. on input vs. on submit
- Validation rules per input type
- Error message format: 

Open directly in an AI — the text is pre-filled:

How to use this prompt

  1. 1Replace the key placeholders first: PRODUCT NAME, NUMBER.
  2. 2Replace any bracketed placeholders like [this] with your own context.
  3. 3Add extra background information when you want more tailored results.
  4. 4Combine multiple prompts in one conversation when you need a richer output.
  5. 5Save your best-performing prompts so they are easy to reuse later.

Next best step

Open the guide first, then branch only if you still need more.

A starter guide to the first prompt categories and patterns worth using when you need better output without prompt guesswork.

If this prompt is close but not quite right, generate variants next. If the job is recurring, move into the course library after the guide.

Related prompts

View all

Color System for Digital Products with WCAG AA Accessibility Compliance

Generates a complete color palette with semantic tokens, light/dark mode support, and WCAG AA compliance validation.

IntermediateFree prompt

Best for

Define a robust, accessible color system that works across all UI contexts, reducing ad hoc decisions and ensuring visual consistency throughout the product.

Copy-ready promptOpen prompt

Typography Hierarchy System for Responsive Web and Mobile Interfaces

Defines a complete typographic scale with fluid typography, weights, and spacing for web and mobile platforms.

IntermediateFree prompt

Best for

Establish a typographic hierarchy that ensures readability across all resolutions, from mobile 320px to desktop 1920px, using a modular scale system.

Copy-ready promptOpen prompt

Responsive Layout System with Grid Architecture for Complex Data Dashboards

Designs a flexible grid system for dashboards featuring cards, tables, and charts that adapt to any viewport size.

AdvancedFree prompt

Best for

Create a layout system based on a responsive grid that organizes dense dashboard information clearly, prioritizing data hierarchy and optimal information density for each screen size.

Copy-ready promptOpen prompt

Micro-Interaction Library for Engagement and Visual Feedback

A catalog of micro-interactions for component states, transitions, and visual feedback that elevate perceived product quality.

AdvancedFree prompt

Best for

Design a cohesive micro-interaction system that communicates states, actions, and transitions intuitively, increasing perceived product quality.

Copy-ready promptOpen prompt

Explore other prompt categories

Move sideways into adjacent libraries when the current category is not the full answer.

Every prompt here is free. The course teaches the thinking behind them.

Copy as many prompts as you like. When you want to move from single prompts to a repeatable AI workflow, Learn AI in 30 Days walks through it, one day at a time.

Get the courseSee the 30-day curriculum first

Buy the course once ($15/$20 by length), or go all-access for $10/mo with a verifiable certificate.