form-design

Form & Input Field Design Generator

A comprehensive prompt template for designing user-friendly, accessible forms and input fields that maximize completion rates and minimize user friction. Perfect for UI/UX designers, product teams, and developers building registration flows, checkout processes, data entry systems, or any form-based interfaces.

Your Prompt

  

How to Use

Use this prompt to create a comprehensive, user-friendly form and input field system tailored to your specific data collection needs. Replace bracketed placeholders with details about your form's purpose, required fields, target platform, and user context. The output will provide detailed designs covering all field types, states, validation patterns, and accessibility requirements with implementation specifications. For best results, prioritize ruthlessly—only include truly essential fields, as every additional field decreases completion rates by approximately 5-10%.

Pro Tips

  • Place labels above input fields rather than beside them. Top-aligned labels create a clear single-column flow that's easier to scan, works better responsively, and supports longer labels without breaking layout or requiring truncation.
  • Use appropriate field types instead of generic text inputs. Select dropdowns for 5+ predefined options, radio buttons for 2-5 visible choices, checkboxes for multiple selections, and specialized inputs like date pickers to prevent format errors and improve mobile experience.
  • Implement smart defaults based on user context—pre-select the most common country based on IP geolocation, default to current date where appropriate, or remember previous selections for returning users. Smart defaults reduce typing and cognitive load significantly.
  • Never use placeholder text as a replacement for labels. Placeholders disappear when users start typing, fail accessibility requirements, and create usability problems for users with cognitive or memory challenges who forget what the field requires.
  • Show clear progress indicators on multi-step forms using numbered steps, progress bars, or 'Step X of Y' text. Users are more likely to complete forms when they understand how much remains and can gauge time investment required.
  • Provide inline validation that's encouraging and constructive rather than punishing. Show success states with checkmarks for correctly completed important fields, and phrase error messages as helpful guidance ('Phone number should be 10 digits') rather than criticism ('Invalid input').

Form Length and Field Reduction

Form length directly impacts completion rates with research consistently showing that shorter forms convert significantly better than longer ones. Each additional field creates friction and increases the likelihood of abandonment—studies indicate that reducing fields from 11 to 4 can increase conversions by up to 120%. Before designing, conduct a field audit questioning every single field's necessity: Is this information required immediately, or can it be collected later? Can you infer this data from other sources? Does collecting this data provide sufficient value to justify the friction? Apply progressive profiling for returning users by collecting minimal information on first interaction and gradually gathering additional details over time. For long forms that cannot be shortened, implement multi-step designs breaking the form into 3-5 logical sections with progress indicators, which reduces perceived length and increases completion rates. Consider conditional logic to show only relevant fields based on previous answers, keeping the interface clean and focused. For optional information, use progressive disclosure patterns like expandable 'Show more options' sections rather than displaying all fields upfront.

Validation Strategy and Timing

Validation timing significantly impacts user experience and form completion rates. Real-time validation provides immediate feedback but can frustrate users if triggered prematurely while they're still typing. Implement validation on blur (when user leaves field) rather than during typing for format checks like email validation, allowing users to complete their thought before receiving feedback. For username availability or unique constraints, use debounced real-time validation checking 300-500ms after user stops typing to balance responsiveness with server load. Reserve on-submit validation for required field checks and final comprehensive validation, presenting all errors simultaneously with clear indication of what needs correction. Provide success indicators strategically—showing green checkmarks for successfully validated critical fields like email or password builds user confidence and motivation to complete the form. Design error messages to be specific and actionable: instead of 'Invalid email' say 'Email must include an @ symbol' or 'Please enter a complete email address like [email protected].' Position error messages directly below the problematic field with visual connection through color, icons, and proximity, and use ARIA live regions to announce errors to screen reader users immediately.

Mobile Form Design Principles

Mobile form design requires special consideration as users face additional challenges including smaller screens, touch-based input, and on-screen keyboards consuming half the viewport. Always use single-column layouts on mobile, as multi-column forms are nearly impossible to complete comfortably on small screens. Set minimum font size to 16px for input fields to prevent iOS Safari from automatically zooming in when fields are focused, which disrupts the user experience. Use appropriate input types and inputmode attributes to trigger optimal keyboards: type='email' for email addresses, type='tel' for phone numbers, inputmode='numeric' for number-only fields, and type='url' for website addresses. Ensure touch targets meet minimum 44x44px size with adequate spacing to prevent mis-taps on adjacent fields. Avoid fixed position elements or sticky headers that reduce available screen space—on mobile, every pixel matters. Consider bottom-aligned submit buttons on mobile that remain accessible while the keyboard is visible. Implement smart defaults and autocomplete extensively on mobile where typing is more laborious than desktop. Test forms on actual devices with real keyboards rather than desktop browser emulation, as behavior differs significantly—especially for autocomplete, autofill, and keyboard dismissal patterns.

Accessibility Implementation

Accessible form design ensures usability for all users including those using assistive technologies, with the added benefit that accessibility improvements generally enhance usability for everyone. Always use semantic HTML elements (label, input, button, fieldset) rather than div-based custom components, as semantic elements provide built-in accessibility features. Associate labels with inputs using for/id attributes ensuring screen readers announce field purpose and that clicking labels activates fields. Implement proper ARIA attributes: aria-required for mandatory fields, aria-invalid for errors, aria-describedby linking to help text and error messages, and aria-live regions for dynamic validation feedback. Design visible focus indicators with 3:1 contrast ratio against background, never removing default focus outlines without providing clear alternatives. Ensure keyboard navigation follows logical order matching visual layout, with ability to complete entire form without mouse. Provide error summaries at form top with anchor links to specific problematic fields, helping users understand and correct all issues efficiently. Test with actual screen readers like NVDA, JAWS, or VoiceOver to verify that form interactions are announced clearly and errors are communicated effectively. Support high contrast modes and ensure color is never the only indicator of errors or required fields—always pair with icons, text, or other visual cues.

Related Prompts

View prompt
brand strategy

Voice and Tone Guidelines Creator

Create comprehensive voice and tone guidelines for [BRAND NAME] in the [INDUSTRY/SECTOR] industry. The brand offers [PRODUCTS/SERVICES] targeting [TARGET AUDIENCE]. Core brand values include [BRAND VALUES], and the brand personality can be described as [BRAND PERSONALITY]. Include a brand voice overview, 3-5 voice characteristics with 'We are/We are not' statements, tone variations for different channels and contexts, practical writing guidelines, and examples of the voice in action.

content and communication
View prompt
design thinking

Design Thinking Process Guide

You are a world-class Design Thinking facilitator. Guide me through the complete design thinking process to solve this challenge: [DESCRIBE YOUR CHALLENGE/PROJECT/PROBLEM]. The target users/stakeholders are [DESCRIBE TARGET AUDIENCE], and the primary objectives are [DESCRIBE KEY GOALS]. I am [BEGINNER/INTERMEDIATE/EXPERT] with design thinking. Please adjust your guidance accordingly.

innovation
View prompt
user research

Empathy Map Creator

Create a comprehensive empathy map for [TARGET PERSONA] in the context of [SPECIFIC CONTEXT/SITUATION]. Follow the empathy map framework with sections for thinking/feeling, seeing, hearing, saying/doing, pains, and gains. Include 5-7 detailed points for each section written from the persona's perspective.

persona insights