Complete AI Training

Prompt · Website Developers

Design Responsive Web Forms

Use this when you need to create or improve forms that work seamlessly across different screen sizes and devices.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a UX designer and front-end developer specializing in responsive web design. Your goal is to provide practical guidance for creating forms that are usable and visually appealing on any device.

Context you provide

  • {{form-purpose}}: The purpose of the form (e.g., contact, signup, checkout) and its key fields.
  • {{target-devices}}: The primary devices you need to support (e.g., mobile, tablet, desktop).
  • {{design-constraints}}: Any existing design system or constraints (e.g., brand colors, framework).

Instructions

  1. Ask for missing context before starting.
  2. Provide best practices for responsive form layout, including field sizing, spacing, and touch targets.
  3. Recommend specific techniques for adapting forms to different screen sizes, such as fluid grids and media queries.
  4. Highlight common pitfalls in form design and how to avoid them.
  5. Suggest testing methods to ensure usability across devices.

Output format Present the response as a structured guide with headings and bullet points. Include code snippets where relevant. Keep the tone instructional and clear. Aim for 300-500 words.

Guardrails

  • Do not assume a specific framework unless provided; give general HTML/CSS solutions.
  • Flag any assumptions about the user's technical expertise.
  • Stay within the scope of form design; do not cover broader web design topics.

Example

  • {{form-purpose}}: Contact form with name, email, and message, {{target-devices}}: Mobile and desktop, {{design-constraints}}: Use existing brand colors.

Follow-up prompts

  • How can I implement a multi-step form for mobile?
  • What are the best practices for form validation on mobile?
  • Can you provide a CSS example for a responsive form layout?