Discover the power of branches for your logic
The way Tripetto lets you create branches for your logic is so flexible the possibilities are limitless. Let us show you how to get the most out of it.
Logic in our visual form builder
Tripetto is built up from the base to support advanced logic options to make your forms really smart. To easily let you create (and maintain) that logic, you create your forms in our visual form builder that representents your form's flow on a storyboard.
To add the magic of logic to it, you create branches, that are shown as a new horizontal track in the form builder. Inside each branch you can add unlimited sections, question blocks, action blocks or even more branches. There are several ways to create a branch, but for this article we create an empty branch by clicking the
icon on the right side of a section.
To determine when a certain branch should be shown to your respondents you have to add the desired branch condition(s) to each branch. To do so, you click the
button at the bottom of the branch block. Now you can use several branch conditions:
- Block conditions - Basic conditions based on the value of a certain question block and/or action block;
- Evaluate conditions - Advanced conditions based on the value of a certain question block and/or action block;
- Regular expression conditions - Conditions based on a regular expression;
- Device conditions - Conditions based on the device of the respondent.
Please have a look at this article for more in depth information about branch conditions.
To determine how a branch should behave when one or more conditions match, you can select the right branch behavior. To do so, you click the green bubble at the top of a branch. Now you can choose from different branch behaviors:
- For the first condition match - Follow the branch if at least one of the conditions matches;
- When all conditions match - Follow the branch if all the conditions match;
- When no conditions match - Follow the branch if none of the conditions match;
- For each condition match (iteration) - Follow the branch for each condition match. This will create an iteration of the branch.
Please have a look at this article for more in depth information about branch behaviors.
To determine what should happen at the end of a branch, you can set the desired branch ending. To do so, you click the green bubble at the bottom of a branch. Now you can choose from different branch endings:
- Continue with the next section or branch - Let the form determine the continuation;
- Jump to a specific point - Let the form jump to a specific section in your form;
- Jump to end - Let the form jump to the very end immediately;
- End with closing message - Let the form end and show a custom closing message.
Please have a look at this article for more in depth information about branch endings.
Instead of using the bubbles at the beginning (to set branch behavior) and ending (to set branch ending) of a branch, you can also click on the name of the branch to open up the branch properties. In the pane that opens you can set the branch name, branch behavior and branch ending.