Bubble

How to set up a multi-step form in Bubble.io?

Learn how to set up a multi-step form in Bubble.io with this step-by-step guide. Design UI, add navigation, set conditional logic, and create workflows easily.

Developer profile skeleton
a developer thinking

Overview

Setting up a multi-step form in Bubble.io can streamline your data collection process and enhance the user experience. This guide walks you through each crucial step: creating a new page, designing user interface elements, adding navigation buttons, setting up conditional logic for visibility, and creating workflows to track the form’s progress. By following these instructions, you'll be able to design a smooth, user-friendly multi-step form that effectively captures information and improves the overall functionality of your Bubble.io application.
Get a Free No-Code Consultation
Meet with Will, CEO at Bootstrapped to get a Free No-Code Consultation
Book a Call
Will Hawkins
CEO at Bootstrapped

How to set up a multi-step form in Bubble.io?

  Setting Up a Multi-Step Form in Bubble.io   Step 1: Create a New Page for the Multi-Step Form  
  • Open your Bubble.io application.
  • From the top navigation bar, click on the "Pages" dropdown and select "Add a new page."
  • Name your new page (e.g., "MultiStepForm") and click "Create."
  • In the new page, set up the overall layout for your form. You can choose a blank page or use a pre-designed template.
  Step 2: Design the User Interface for Each Step  
  • In the Bubble editor, drag and drop a "Group" element onto the page. This group will represent the first step of your form.
  • Rename the group to something like "Step 1."
  • Add the necessary input elements (e.g., text inputs, dropdowns, etc.) inside the group to collect user information for the first step.
  • Repeat the above steps to create additional group elements for each subsequent step of your form (e.g., "Step 2," "Step 3," etc.).
  Step 3: Add Navigation Buttons  
  • Inside each group (Step 1, Step 2, etc.), add navigation buttons to move between the steps.
  • For the first step, add a "Next" button. In subsequent steps, add both "Previous" and "Next" buttons to allow back and forth navigation.
  • Style the buttons according to your design preferences.
  Step 4: Configure Conditional Logic for Visibility  
  • Select the group element for "Step 1."
  • In the Property Editor on the right-hand side, go to the "Conditional" tab.
  • Set a condition to display this group only when the current step is 1. Example condition: "When custom_state_form\_step is 1 This element is visible."
  • Repeat this process for each step, ensuring that each group is only visible on its respective step (e.g., Step 2 is visible when custom_state_form\_step is 2).
  Step 5: Create a Custom State for Form Step Tracking  
  • Select the page itself (e.g., "MultiStepForm") in the list of elements.
  • Navigate to the "Element Inspector" on the right side and scroll down to "Custom states."
  • Click "Create a new custom state" and name it (e.g., "form\_step").
  • Set the type to "Number" and ensure the default value is set to 1 (assuming the form starts with Step 1).
  Step 6: Create Workflows for Navigation Buttons  
  • Go to the "Workflow" tab.
  • Click "Click here to add an event" and select "An element is clicked."
  • Select the "Next" button in Step 1.
  • Add an action "Element Actions → Set state."
  • Select the custom state you created (e.g., form\_step) and set its value to 2 (or the next step number).
  • Repeat this for the "Previous" and "Next" buttons in all the respective steps, ensuring the custom state value increments or decrements correctly.
  Step 7: Preview and Test Your Multi-Step Form  
  • Click on the "Preview" button at the top-right corner of the Bubble editor.
  • Navigate through each step of your form to ensure that the user interface and form workflow behave as expected.
  • Make adjustments as necessary based on the testing results.
 

Explore more Bubble tutorials

Complete Guide to Bubble.io: Tutorials, Tips, and Best Practices

Explore our Bubble.io tutorials directory - an essential resource for learning how to create, deploy and manage robust server-side applications with ease and efficiency.

Why are companies choosing Bootstrapped?

40-60%

Faster with no-code

Nocode tools allow us to develop and deploy your new application 40-60% faster than regular app development methods.

90 days

From idea to MVP

Save time, money, and energy with an optimized hiring process. Access a pool of experts who are sourced, vetted, and matched to meet your precise requirements.

1 283 apps

built by our developers

With the Bootstrapped platform, managing projects and developers has never been easier.

hero graphic

Our capabilities

Bootstrapped offers a comprehensive suite of capabilities tailored for startups. Our expertise spans web and mobile app development, utilizing the latest technologies to ensure high performance and scalability. The team excels in creating intuitive user interfaces and seamless user experiences. We employ agile methodologies for flexible and efficient project management, ensuring timely delivery and adaptability to changing requirements. Additionally, Bootstrapped provides continuous support and maintenance, helping startups grow and evolve their digital products. Our services are designed to be affordable and high-quality, making them an ideal partner for new ventures.

Engineered for you

1

Fast Development: Bootstrapped specializes in helping startup founders build web and mobile apps quickly, ensuring a fast go-to-market strategy.

2

Tailored Solutions: The company offers customized app development, adapting to specific business needs and goals, which ensures your app stands out in the competitive market.

3

Expert Team: With a team of experienced developers and designers, Bootstrapped ensures high-quality, reliable, and scalable app solutions.

4

Affordable Pricing: Ideal for startups, Bootstrapped offers cost-effective development services without compromising on quality.

5

Supportive Partnership: Beyond development, Bootstrapped provides ongoing support and consultation, fostering long-term success for your startup.

6

Agile Methodology: Utilizing agile development practices, Bootstrapped ensures flexibility, iterative progress, and swift adaptation to changes, enhancing project success.

Yes, if you can dream it, we can build it.