How to match a combination of multiple conditions
Learn how you can combine multiple conditions to create perfect matches for your branches.
When to use
We've seen a simple example of a follow up that was in a branch with a single condition in this article. But instead of one condition per branch it is possible to add as many conditions as you need to make the perfect match for your branch.
📌 Also see: More logic possibilities
The logic described in this article is just one example of what Tripetto can do to make your forms smart. Have a look at this article to see all logic capabilities:
How to use
For this example we already added a couple of question blocks and created an empty branch.
Add branch conditions
In each branch you can add an unlimited amount of branch conditions, by clicking the button at the bottom of a branch. You can always use and combine all different types of branch conditions.
Set branch behavior
Each branch can behave in three different ways (more information):
- For the first condition match (logical
OR
); - When all conditions match (logical
AND
); - When no conditions match (logical
NOT
); - For each condition match (logical
FOR
).
By default a branch gets executed on the first condition match, so if one of the conditions match. In this article we want to check if all conditions match. To do so, we click the branch bubble at the top and set the branch behavior to When all conditions match
. Now the branch will only be followed if the respondent matches all conditions.
In the example below we created a branch with three conditions. All three conditions have to match to go into the branch. In this example that branch approves the appointment and sends a confirmation message.
More video tutorials
You can have a look at all our help articles for more in-depth (video) tutorials to get the most out of Tripetto. Or have a look at our YouTube channel for all videos.