To create an 8-step calculator form similar to the one on valority.com, you’ll need to use Webflow’s multi-step form structure combined with custom interactions, conditional visibility, and form state management.
- Create a new Form Block element in Webflow.
- Inside the form, add 8 separate Div Blocks—each one representing a step.
- Use a class like
.form-step
and give each step a unique ID (e.g., step-1
, step-2
, etc.). - Only the first step (
step-1
) should be visible initially.
- In each step container, add the relevant form fields (e.g., select fields, radio buttons, sliders).
- Add a “Next” button at the bottom of each step (and a “Back” button for steps 2–8).
- Set these buttons as Type: Button (not Submit) so they can be used for custom navigation.
3. Build Navigation Logic with Interactions
- Use Webflow Interactions (IX2) to toggle between steps:
- Hide the current step and show the next one when the Next button is clicked.
- Do the reverse for the Back button.
- Use "Mouse click (tap)" triggers on each navigation button to apply these interactions.
- Be sure to set Display: None / Flex or Block depending on the original layout.
4. Customize Step Indicators (Optional)
- Add a numerical or visual step indicator outside the form.
- Use interactions or custom code (if needed) to highlight the current step.
5. Store Data Across Steps Without Submission
- Since Webflow forms only submit on the final step, all inputs across steps will be sent as long as:
- They are inside the same Form Element.
- You do not use separate forms for each step.
6. Add Validation (Optional)
- Use Webflow’s Required setting on fields to ensure key inputs are completed.
- For advanced validation (e.g., number limits, conditional requirements), you’ll need custom JavaScript.
7. Submit and Redirect on Final Step
- On step 8, replace the "Next" button with a Submit button.
- Under Form Settings, you can:
- Set a custom Success message.
- Use Form Redirect to go to a results page or "Thank You" page.
8. Add Custom Smooth Transitions (Optional)
- Use Webflow animations to create sliding or fading transitions between steps.
- Add transitions on the
.form-step
class for smooth hiding/showing. - This improves the feel and interactivity of the calculator.
Summary
To build an 8-step calculator form like valority.com in Webflow, create a single form with 8 hidden step containers, use buttons to navigate between steps via interactions, and include all required inputs inside the form so they submit together. Add transitions and step indicators for a polished UX. Custom logic (e.g., calculations) may require JavaScript.