Conditional logic

What is conditional logic?

Conditional logic lets you automatically show or hide text depending on what people select in previous questions. Conditional logic uses if-then statements: IF a certain condition is true (e.g., a user selects a specific option), THEN a particular action will happen (e.g., show or hide text). If no conditional logic has been added, the text will be shown by default.

Respondents never have to skip irrelevant questions—because with conditional logic, they’ll never even see them.

Conditional logic is extremely versatile, but it can be a bit overwhelming to learn at first. If you’re having any trouble, feel free to ask for help by sending us an email at help@taktikal.com or check out our Help Center for articles explaining conditional logic in more detail.

When you’re first getting started with conditional logic, it’s probably easiest to start with ‘Is equal to’ responses since it’s the most straightforward.

Conditional logic is extremely versatile, but it can be a bit overwhelming to learn at first. If you’re having any trouble, feel free to ask for help by sending us an email at help@taktikal.com.

Examples

Let's start with the simplest example: One question, that's either a drop down or radio element. The form will only show if one specific option is chosen.

For example, if someone is requesting a pet insurance and would need to fill in certain information for a cat insurance, the logic on the cat insurance form will be set like this:

Show form ‍
If ANY the following is true
Do you have a cat or a dog?” is equal to ‘cat’.



Next: Setting up conditional logic in forms

Articles in this section