Skip to content

Multi-Step Registration Form

Bootstrap 5 three-step registration form with a progress bar, step indicators, per-step validation, password matching, plan cards and a success screen.

Also known as: multi step signup form, registration wizard, multi page sign up form, onboarding wizard form

Multi-Step Registration Form live demo

Open in new tab

Bootstrap 5 code (HTML, CSS, JS)

A Bootstrap 5 registration form split into three steps (account, profile and plan) with a progress bar, numbered step indicators and validation that runs on each step before the user can continue. Use it for sign-up flows, onboarding wizards and long forms that feel lighter in smaller pieces.

How it works

The root is section.msr-register with a single .msr-card. The .msr-head header has a violet gradient, a "Step 1 of 3" counter, a Bootstrap .progress bar and the ol.msr-steps indicator list. Below it, form.msr-form contains three fieldset.msr-step elements; only the current one is visible, the others carry the hidden attribute. Each fieldset stores its short name in data-msr-name, which the counter displays.

The form uses novalidate, and the Continue button is a real submit button, so pressing Enter in a field also advances. On submit the script calls checkValidity() on the fields of the current step only. If something is invalid, that fieldset gets was-validated (Bootstrap then shows the .invalid-feedback messages), aria-invalid is set and the first invalid field gets focus. The confirm field uses setCustomValidity() so it fails until it matches the password. A valid step moves forward: the progress width and aria-valuenow update, finished markers get is-done (a check mark drawn in CSS) and the new step's legend is focused. The Back button returns without validating. On the last step the plan cards (Bootstrap btn-check radios) and the terms checkbox are checked, a spinner shows for a moment and the .msr-done panel replaces the form with a personal welcome message.

Customization

  • --msr-head-from and --msr-head-to in .msr-register: change the header gradient and the success icon.
  • --msr-accent, --msr-accent-hover and --msr-accent-rgb in .msr-register: recolor the Continue button, focus rings, checkbox and selected plan card.
  • --msr-page-bg in .msr-register: set the section background, or transparent to blend into your page.
  • --msr-radius in .msr-register: round or square the card corners.
  • Add a fieldset with the msr-step class and a data-msr-name value, plus a matching .msr-steps__item, to create a fourth step; the progress math uses the number of steps. Update the "of 3" text in .msr-counter as well.
  • minlength="8" on #msr-password: change the password rule and the help text next to it.
  • The window.setTimeout call in script.js: replace it with a fetch() that posts new FormData(form) to your backend.

Use cases

  • SaaS sign-up flows: new users create an account, fill a profile and pick a plan across three steps
  • Onboarding wizards: per-step validation and a progress bar keep long forms from feeling overwhelming
  • Membership and subscription sites: plan cards on the last step let visitors choose a tier before registering
  • Event and course registration: a success screen with a welcome message confirms the sign-up right away

Accessibility

Each step is a fieldset with a legend, and every field has a visible label. The current marker has aria-current="step", the counter is a polite live region, and the progress bar exposes role="progressbar" with aria-valuenow. Focus moves to the new legend on every step change and to the success panel at the end. While sending, the button uses aria-disabled so focus is not lost. Step and progress animations are removed with prefers-reduced-motion: reduce.

Usage notes

Requires Bootstrap 5 and Bootstrap Icons. Always validate the data again on the server.

Multi-Step Registration Form at a glance

Framework
Bootstrap 5
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Bootstrap 5, Bootstrap Icons
Layout
Responsive, works on mobile
Category
Multi-step Forms
License
Free for personal and commercial use

Questions about this template

Can I use the Multi-Step Registration Form code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Bootstrap 5 and Bootstrap Icons from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

Requirements

Add these to your page (already included in the download):

  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
  • <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
Multi-Step Registration Form – free Bootstrap 5 multi-step form template
Multi-Step Registration Form · free Bootstrap 5 multi-step form template

More Multi-step Forms

Multi-Step Form with Progress Bar – free Bootstrap 6 multi-step form template

Multi-Step Form with Progress Bar

Bootstrap 6 three-step signup form with a gradient progress bar, per-step validation, password Strength meter, radio cards, switches and a success screen.

Multi-Step Form with Progress Bar – free Pure CSS multi-step form template

Multi-Step Form with Progress Bar

Four-step signup form with an animated progress bar, numbered step labels, per-step validation, Back and Next buttons and a review summary.

Onboarding Wizard – free Tailwind CSS multi-step form template

Onboarding Wizard

Tailwind CSS onboarding wizard with step indicator, progress bar, radio cards, topic chips, validation and an editable summary before finishing.