Using logic3 Min.8 Min.

How to repeat follow-up for multiple selected options

Learn how to repeat follow-up questions for each of the selected options from a list.

When to use

A good example of smartness inside a form is when you can repeat follow-up for each of the selected options from a multiple choice list.

Let's say you've got a multiple choice list of five product options and your respondents can select multiple of those products. For each selected product you want to ask how many the respondent wants to order and calculate the subtotal per product.

Screenshot of a form in Tripetto
Demonstration of iterating questions for selected products.

How to use

The idea is to make a question that respondents can select multiple options from and then ask a follow-up question for each of the selected items.

Question types

You can use several question types to let your respondents select multiple options from a list:

  • Checkboxes;
  • Multiple choice buttons;
  • Picture choice buttons.

Create branch

Screenshot of the form builder in Tripetto
Select the branch behavior.

Now, instead of creating separate branches for each option (like you would do in other form builders), you can just create one single branch and let the form repeat the question blocks inside that branch for each selected option.

To do so, click the branch bubble at the top of the branch and then select For each condition match (iteration).

Add follow-up

In the example we created a branch with one question. That question will be asked for each of the options the respondent selects.

Use piping values

Inside the iterating branch the same question blocks will be used multiple times, namely for each of the items your respondent selects. To show your respondent about which selected option each question is, you can use piping logic. Inside an iterating branch there is a special piping value available, called Automatic text value. By using that piping value, the form will automatically show the name of the selected option that the iterating question is about.

More logic possibilities

The logic described in this article is an example of what Tripetto can do to make your forms smart. Discover the power of branches for your logic to see all logic capabilities.

Video tutorials

We have made several video tutorials on how to use logic. These tutorials show you how to create a repeating branch.

Video tutorial on advanced logic.
Video tutorial on branch logic.
In this article

    Help us improve