By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.

How to Build an Engaging Quiz to Capture Emails in Webflow

Matt Ward Photo
Matt Ward
8 mins

Interactive quizzes are a fantastic way to engage website visitors, provide value, and collect email addresses for lead generation.

Using Formly with Webflow, you can create a multi-step quiz that’s easy to set up and looks professional. Here’s how to do it step by step.

Why Quizzes Work for Lead Generation

Quizzes capture attention by providing personalised value. They appeal to curiosity and offer users instant results or insights. Whether it’s a personality test, a product recommendation quiz, or a readiness assessment, quizzes can:

  • Increase time spent on your website.
  • Encourage sharing for wider reach.
  • Generate qualified leads through email collection.

By using a quiz, you create an engaging experience while collecting the contact details you need for follow-up marketing.

Step 1: Plan Your Quiz

Before diving into Webflow, outline the purpose and structure of your quiz:

  • Define the goal: What value will users get? For example, a quiz to determine the best product for them or to test their knowledge.
  • Choose a format: Will your quiz have multiple-choice questions, sliders, or checkboxes?
  • Draft questions and outcomes: Keep it simple, with 5-10 questions that are easy to answer. Ensure each question leads to a logical outcome.
  • Decide on the CTA: What will happen after the quiz? Typically, you’ll display results and request an email to send additional resources or a detailed breakdown.

Step 2: Create the Quiz in Webflow

  • Add a Form Block: Drag and drop a form block from Webflow’s elements panel.
  • Enable Formly Multi-Step Form: Add the following attribute to the form element: data-form="multistep"
  • Add Quiz Steps: Divide your quiz into steps. For each step, wrap the content in a div block and assign it this attribute: data-form="step". You can include an intro step if needed by adding: data-card="true"
  • Create Navigation Buttons: Add Next and Back buttons for navigation between steps. Use these attributes:
    • Next button: data-form="next-btn"
    • Back button: data-form="back-btn"Note: These buttons can be placed anywhere on the page but must have the correct attributes.
  • Add the Submit Button: Place the submit button inside the form element and assign it this attribute: data-form="submit-btn"data-form="submit-btn"

Add Progress Indicators (Optional)

  1. Use automatic progress indicators by assigning the following attributes to your progress bar:
    • Progress wrapper: data-form="progress"
    • Progress indicator: data-form="progress-indicator"
  2. Alternatively, use custom progress indicators for each step:
  3. data-form="custom-progress-indicator"

Include Email Collection

Add an email input field in the final step of your form and mark it as required. This ensures you capture contact details before showing quiz results.

Step 3: Style Your Quiz

  1. Use Webflow’s design tools to match the quiz with your brand’s style.
  2. Add clear headings, labels, and error messages for better usability.
  3. Keep the layout clean and mobile-friendly for a seamless experience.

Step 4: Add the Formly Script

To enable Formly functionality, add the following script before the </body> tag on your page:

<script src="https://cdn.jsdelivr.net/gh/videsigns/webflow-tools@latest/multi-step.js"></script>

Step 5: Test Your Quiz

  • Test functionality: Go through the quiz to ensure all buttons, steps, and validations work.
  • Check mobile responsiveness: Verify that the quiz looks great on smaller screens.
  • Track progress: Set up analytics to monitor completions and email signups.

Bonus Tips for Maximising Quiz Results

  • Incentivise participation: Offer a free resource, discount, or personalised recommendation in exchange for taking the quiz.
  • Promote your quiz: Share it via email campaigns, social media, and on high-traffic pages of your website.
  • Use data wisely: Follow up with users based on their quiz results. For instance, recommend specific products or share targeted resources.

Conclusion

Interactive quizzes are a powerful tool for engaging visitors and generating leads.

With Formly and Webflow, you can create a professional, multi-step quiz that captures attention and collects emails seamlessly.

Start by planning your quiz, use the tools and attributes outlined above, and test thoroughly to ensure a smooth experience. Happy quizzing!

Spend Less Time on Webflow, More Time on Marketing
Don’t let Webflow tasks slow you down. I provide expert support to help your site run smoothly while you focus on delivering impactful marketing campaigns.