Skip to main content

How to redirect users to relevant product fields based on their answers

Learn how to redirect users to specific product fields based on their answers in your form using conditional logic.

Updated this week

If you want to show specific product fields based on the user’s answer to a question, you can easily do that using logic in Formaloo. This guide walks you through how to create a form that shows different product options depending on what the user selects.


Use Case Example

Imagine you run an English education center that offers two IELTS packages: General Exam and Academic Exam. Each package comes with its own set of books. When a student chooses a package, you want to show only the products related to that choice.

Template: Use this ready-made template to quickly set up redirections based on user answers. It’s an easy starting point that you can fully customize to fit your specific needs.


Step 1: Add a Choice Field

Start by adding a field that lets users select one option. While you can use different types of fields for logic, here we'll use Single Choice since students should pick only one package based on their level.

  • Field Title:

    • Choose your IELTS Package

  • Options:

    • General Exam

    • Academic Exam

This choice field helps categorize users so you can display only the product fields that apply to them.


Step 2: Add Product Fields for Each Option

Now, add the relevant product fields tied to each answer:

  • If the user selects General Exam, show:

    • Cambridge English Books

    • IELTS Official Practice Tests

  • If the user selects Academic Exam, show:

    • Grammar for IELTS

    • Complete IELTS Series

These fields can be set up as payment fields using Formaloo's integrations. This lets you connect them to a payment provider and sell products directly in the form. Learn more in our article: How to Create a New Payment Method.


Step 3: Set Up Logic to Show Relevant Product Fields

Now we have to set up our logic triggers to show the right product fields based on the user’s selection.

  1. Click the gear icon (Settings) at the top of the form editor.

  2. On the right-side panel, open the Advanced Logic tab.

  3. At the top of the page, use the Field Logic section to create real-time triggers.

  4. Add logic rules like:

  • If "Choose your IELTS Package" is General Exam, then show Cambridge English Books and IELTS Official Practice.

  • If "Choose your IELTS Package" is Academic Exam, then show Grammar for IELTS and Complete IELTS.

Only the relevant product fields will be shown depending on the user’s selection. For more info, see: How to Show/Hide Multiple Fields Based on Previous Answers.


Step 4: Test Your Form

Use the View feature to make sure everything works:

  • When General Exam is selected, only the related products appear.

  • When Academic Exam is selected, only those related fields are shown.

With just a few steps, you've built a dynamic form experience to show targeted product offers and even sell them.

Tip: Want users to track their order? Add a tracking code field. Learn more in How to Add Tracking Code to Your Form.


Take It Further with On Update Logic

You can automate even more by using On Update logic. This lets you trigger follow-up actions when a user’s submission is updated—for example, sending them an email when their order status changes.

💡 Pro Tip: Want to recommend products automatically based on user responses? Try Formaloo’s Product Recommender Quiz template, it uses logic to match users with their ideal products and can be fully customized for your business.

Did this answer your question?