Portfolio Supported AIs Solutions Tasks Email Archive Bring Your Own Code Integrations Pricing

Get Started

ChatGPT

ChatGPT

Start directly →

Ready
Claude

Claude

Directory Connector →

Ready
Mistral

Mistral

Directory Connector →

Ready

Dashboard Always available
← All articles

multi step forms

Multi-Step Forms: How to Build Them, With Conditional Logic

Learn when a multi-step form beats a single page, how to order steps, add conditional logic, and have your AI assistant build it on WebsitePublisher.

A multi-step form splits one long form into short screens, and conditional logic hides the questions that do not apply to the person filling it in. Use both when a form is long, has natural sections, or asks different people different things. On WebsitePublisher, the AI web platform for websites and apps, your AI assistant (ChatGPT, Claude, Gemini, Grok and others) builds the form and publishes it through the WebsitePublisher connector. The full-stack backend for forms, email, data and uploads is already built in.

This guide covers what to split, how to order the steps, how to write branching rules that do not trap people, and how to brief your AI so the first version is close to final.

TL;DR

  • Use steps when a form has distinct themes, runs long, or causes errors. Keep short forms on one page.
  • Group fields by topic, validate each step before moving on, and keep the number of steps small.
  • Ask the question that decides the path first, then use conditional logic to hide what does not apply.
  • Show progress, keep a Back button, and never lose answers when someone goes back.
  • With WebsitePublisher, you describe the form in plain language. Your AI builds it on a full-stack platform, and every change is live immediately.

Table of Contents

What a multi-step form is

A multi-step form shows a few fields at a time. The visitor moves with Next and Back buttons, and the answers are submitted together at the end. You may also see it called a multi-page form, a form wizard or a stepped form. The spellings “multistep” and “multi-step” both appear in the wild. Pick one and use it consistently on your site.

The W3C Web Accessibility Initiative treats this as a standard pattern: divide long forms into logical sections, repeat the overall instructions on every page, and show where the user is in the process.

Conditional logic is a separate tool that pairs well with steps. It means “if this answer meets a condition, then do something”: show a field, skip a group of questions, or end the form early. Related names are branching, skip logic and display logic. A form can have steps without logic, and logic without steps. Together they let a long form feel short, because each person sees only their own path.

When to use steps, and when not to

The Helsinki Design System gives a clear rule. Use multi-page forms when the content divides into distinct themes, such as contact, application, payment and review. Also use them when the form is very long or users make many errors. Avoid them when the fields fit in one desktop view, when users must compare or move information between steps, or when the order of filling in is unknown.

Pega’s design system adds a rough size guide. It suggests considering multiple steps for forms of more than 7 to 10 fields, and it advises against going beyond 5 to 7 steps.

A practical reading of those two sources:

Form Fields Better fit
Newsletter signup, simple contact form 2 to 5 One page
Quote request, booking, lead qualification 6 to 12 Steps, often 2 to 4
Application, onboarding, intake 12 and up Steps, plus logic to hide non-applicable fields
Checkout Many Steps by theme: contact, shipping, payment, review

The table is our working rule, built from the design-system guidance above. Your own traffic settles the edge cases.

What the evidence says about conversion

You will see claims that multi-step forms lift conversion by huge percentages. Treat round numbers with no named study as marketing. One of the few controlled comparisons we found is a 2025 Swedish diploma thesis from Blekinge Institute of Technology. It tested one-page against multi-step checkout with 66 participants. The multi-step version converted 10 of 19 people against 13 of 47 for the single page. The difference was not statistically significant, because the sample was small.

Two details from the same thesis are useful. In the single-page version, 35.6% of abandonments happened at the first-name field, against 12.5% in the multi-step version. A short first screen seems to lower the early drop-off. On the other side, the one-page flow was much faster for people who already knew what they wanted to enter.

The takeaway: steps make a long form feel lighter at the start, and a short form does not need them. Measure your own result. Our guide to tracking landing page conversions lists the five metrics worth watching and the setup checklist.

What the evidence says about conversion

How to design the steps

Good step design is mostly about order and grouping. Here is the routine, with the place where each step usually goes wrong.

  1. List every field and delete the ones you will not use. Each field you cut helps more than any layout trick. If you will never act on an answer, do not ask the question.
  2. Group by theme. Contact details together, project details together, payment together. Helsinki’s form guidance recommends one theme per page and steps of roughly even size. A step with two fields followed by a step with fourteen feels broken.
  3. Start easy. Open with a simple question the visitor can answer without thinking, such as what they need or which service they want. Ask for contact details after they have invested a little.
  4. Put the deciding question early. If an answer changes which later questions appear, ask it first. That is what makes conditional logic work cleanly.
  5. Put sensitive questions late. Phone number, budget and personal details belong near the end. A one-line reason (“we use this to send your quote”) helps.
  6. Validate each step before the next one opens. Helsinki’s guidance is to check the data after each step and to reset the later steps if the user changes an earlier answer. This catches errors while the visitor still remembers the context.
  7. End on something short. The last step should be a review or a single confirmation, not a wall of fields.

Keep the total number of steps low. Pega’s advice to avoid more than 5 to 7 steps is a ceiling, not a target. For most small business forms, 2 to 4 is plenty.

Conditional logic: showing only what applies

Conditional logic removes questions that are irrelevant to the person in front of the form. Four actions cover nearly every case:

  • Show a field only when an earlier answer calls for it.
  • Hide a field that does not apply.
  • Jump past a group of questions.
  • End the form early or redirect to another page.

A support request is the classic case. If the visitor picks “Billing”, ask for the invoice number. If they pick “Bug”, ask for the browser and a screenshot. If they pick “Account access”, ask for the email on the account. All three paths then rejoin at a shared question about urgency.

Rules that keep branching safe

Branching adds a thinking burden for the person filling in the form. A University of Maryland HCIL report on conditional branching found that people make mistakes about 25% of the time even with simple conditional reasoning. It recommends keeping branching instructions to a minimum, automating the branching, hiding irrelevant questions and allowing backtracking. In practice:

  • Keep branches short. Two or three levels of logic are enough for most forms.
  • Let people go back. If they change an answer, update the later steps and keep what still applies.
  • Offer an honest third option. The UK’s NHS service manual recommends early filter questions such as “Are you 18 or over?” and says to avoid forcing a yes or no. Add “I don’t know” or “Not sure” where it is a real answer.
  • Branch forward only. Microsoft’s documentation notes that branching to an earlier question breaks the experience and jumps to the end of the form. Design paths that always move ahead.
  • Test every path. Fill the form in once per branch, on a phone as well as a laptop, before you send traffic to it.

Examples you can copy

These are layouts, not templates tied to any tool. Use them as the brief for your AI.

Quote request for a service business (3 steps)

  1. What do you need? (service type, one choice)
  2. Project details (size, location, timing). Questions change by service type.
  3. Contact details (name, email, phone optional).

A visitor who picks “Other” in step 1 gets an open text field in step 2. Someone outside your service area sees a polite message and the form ends early.

Freelancer project inquiry (3 steps)

  1. Type of project, with an extra field for “Other”.
  2. Budget range and deadline.
  3. Name, email and a link to any brief.

This suits a portfolio site, where you want to qualify leads before a call.

Booking or registration (3 to 4 steps)

  1. Date and party size or ticket type.
  2. Personal details. A “Company name” field shows only if the visitor says they are booking for a business.
  3. Special requests or add-ons.
  4. Review and confirm.

Checkout (4 steps)

Contact, shipping, shipping method, then payment, with the order summary visible throughout. The Blekinge thesis above tested this kind of flow.

Checkout flow from contact to payment

For more field-level patterns, see our lead capture form examples, which include field templates.

Progress, accessibility and mobile

A step form that hides how long it is makes people nervous. The W3C guidance says to indicate progress in the page title (for example “Step 2 of 4: Shipping address”), in the main heading, with a progress element, or with a step indicator that links back to completed steps. It also advises making optional stages easy to recognize and skip, and avoiding time limits.

A few habits that follow from that:

  • Keep the step count honest. If logic removes questions, shrink the total shown so the bar does not mislead.
  • Skip the indicator on very short forms. Two steps rarely need one.
  • Label every field and every error. Say what went wrong and how to fix it, next to the field.
  • Make buttons easy to tap. Next and Back should be large and clear on a phone.
  • Keep keyboard order logical. A person tabbing through should reach Next after the last field in a step.

Our website accessibility checklist turns these into tests you can run before launch. Spam is the other thing to plan for once a form is live; see how to prevent form spam on your website or app.

Building a multi-step form with your AI assistant

If you already use ChatGPT, Claude, Gemini or Grok, you do not need to learn a form-builder interface. With WebsitePublisher, your AI assistant connects through the WebsitePublisher connector (an MCP connection) and builds and publishes your websites and apps for you. Because the platform is full-stack, the backend pieces a form needs, such as forms, email, uploads and data, are already part of it. You are not stitching together separate services.

A good brief names the steps, the fields and the rules. For example:

Build a quote request form for my cleaning business with three steps. Step 1: service type (home, office, move-out, other). Step 2: size and preferred date; if “other” was chosen, show a text field instead. Step 3: name, email, phone (optional). Show “Step 2 of 3” at the top, validate each step before Next, keep a Back button that keeps answers, and email me each submission.

Three habits make the result better:

  • Specify the order and the exit. Say which question comes first, which answers end the form and what the visitor sees afterward.
  • Describe each branch in one sentence. “If A, show B.” Avoid nested conditions in the first version.
  • Iterate in small changes. Every change on WebsitePublisher is live immediately, so you can check the form in the browser, ask for one adjustment, and check again. The visual browser editor lets you upload, resize and swap images on the page yourself, without asking your AI to regenerate it.

Our prompt engineering guide for websites and apps shows how to write briefs like this. If the form is one part of a larger site, build every page from one brief. Project memory and task history stay across sessions and assistants, so you can switch from one AI to another without re-explaining the project.

If you run client sites, our client feedback workflow covers how to get a form approved in a few rounds.

Try it on the AI web platform

WebsitePublisher is the AI web platform for websites and apps. Your AI assistant builds and publishes through the connector, the backend is built in, and 140+ tested integrations cover things like payments and email. You can start from the AI website builder page and see the plans, including the free one, on the pricing page. The list of supported AI platforms shows which assistants you can connect.

Websitepublisher

Freelancers can use one project per client site, and agencies can run several client sites from the same platform. Start with the form that matters most, a quote request or a booking, and build from there.

Our view

Most long forms fail because the form asks for everything at once and treats every visitor alike. We think the fix is simple: ask less, ask it in order, and ask only what applies.

A form is part of an app, not decoration on a page. It has to validate, store the answer, send the email and show the result. That is why we built WebsitePublisher as a full-stack platform, so your AI assistant is not generating untested glue code for each form.

Write the brief in plain words, check the result in the browser, and change what does not work. Every change is live immediately, so improving a form is a short loop, not a project.

FAQ

Is it multi-step or multistep?

Both spellings are in use, and the meaning is the same. Pick one and use it across your site. In headings and page titles, “multi-step” is the more common form.

How many steps should a form have?

For most small business forms, two to four steps are enough. Pega’s design guidance suggests avoiding more than five to seven steps. If you need more, check whether you can cut fields or use conditional logic to hide the ones that do not apply.

Do multi-step forms always convert better?

No. Short forms of a few fields do well on one page. Steps help most when a form is long or has distinct sections. Test both versions on your own traffic, and measure completions rather than relying on a headline percentage.

What is the difference between conditional logic and skip logic?

The terms overlap. Conditional logic is the broad idea: if an answer meets a condition, do something. Skip logic usually means jumping past questions. Branching and display logic describe the same family of rules, such as showing or hiding a field.

Can my AI assistant build a multi-step form for me?

Yes. Describe the steps, fields and rules in plain language, and your assistant (ChatGPT, Claude, Gemini, Grok and others) builds and publishes it on WebsitePublisher through the connector. Changes go live immediately, so you can refine the form step by step.

Sources

Build your site the same way

Describe what you want. Your AI builds and publishes it — with the full stack behind it: data, auth, forms, payments, integrations and hosting.

See how it works →