How to Add a Progress Bar to a Webflow Form
Learn how to add a step-by-step progress bar to a multi-step Webflow form with JavaScript.
In this tutorial, Sandro, cofounder of Gemeos Webflow agency, shows you how to add a step-based progress bar to a multi-step Webflow form.
Example
1. Create your form steps
Split your form into several Divs with the form-step class. Set every step to display: none except the first one. Create a progress-bar Div with width: 0% and a height of 4px. Add a step-indicator Text Block.
2. Add the Next and Previous buttons
In each step, add a "Next" button with the btn-next class and a "Previous" button with the btn-prev class (hidden on the first step).
3. Add this script in the <body>
Conclusion
A multi-step form with a progress bar increases completion rates. Use cases:
- Long qualification forms (onboarding, quotes)
- Surveys and polls
- Multi-step signup flows
Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.















