Multi-step form wizard: Free AI Prompt | SheCodes

Free AI prompt · The Code Book

Multi-step form wizard

A ready-to-use prompt from the chapter Forms & Validation. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.

The prompt

“Turn my form into a multi-step wizard with [2/3/4] steps. Add a progress bar at the top, Back and Next buttons, and validate each step before moving forward.”

How to use it

  1. Fill in the blanks with your own details, so the AI builds your project, not a generic one.
  2. Copy the prompt and paste it into your AI coding tool.
  3. Check the result in the preview, then ask for changes one at a time: "make the buttons bigger", "use my brand colours".
  4. Read the chapter to understand why it works and what to do next.

More prompts like this

All prompts

Build a form

“Build a [contact/signup/feedback] form with fields for [name, email, message]. Include validation and show success/error messages after submission.”

Add form validation

“Add form validation to my existing form. Required fields should show red borders and error text. Email must be valid format. Password must be at least 8 characters.”

Set up a frontend project

“Set up a new Next.js project with TypeScript, Tailwind CSS, and App Router. Create a clean homepage with a [header/hero/features] layout.”

Add multi-page navigation

“Convert my single-page app into multiple pages with proper navigation. Add routes for [home, about, dashboard, settings].”

Make it responsive

“Make my website fully responsive so it looks great on phones, tablets, and desktops. Use Tailwind CSS breakpoints and make sure the navigation works on mobile with a hamburger menu.”

Set up a backend with supabase

“Set up a backend for my app using Supabase. I need tables for [users, posts, comments]. Include row-level security policies so users can only edit their own data.”