Skip to main content
What is Logic

Customize app/form behavior with conditions, logic jumps, and criteria. Includes rules, conditions, actions, and default logic options.

Updated this week

Formaloo’s Logic feature allows you to customize the behavior of your apps and forms by defining conditions, logic jumps, and actions.

This powerful tool can streamline the user experience, reduce friction, and make your forms more dynamic by introducing if/else and loop functions.

Logic for the first question

Formaloo provides flexible options to add logic to your projects, whether you're a beginner or an advanced user.

Formaloo Logic is what sets Formaloo apart from other online tools.

Why use logic in Formaloo

Forms that are long or ask irrelevant questions can quickly turn off users.

By introducing logic to your form, you can create customized experiences for your audience, ensuring they only see the questions relevant to them.

This not only improves user experience but also increases conversion rates. No one wants to fill out a long, tedious form full of unnecessary questions, and Formaloo logic makes sure they won’t have to.

Imagine a scenario where you’re filling out a multi-step form, but 80% of the questions don’t apply to you.

With logic, the form can skip over irrelevant fields, guiding the user through only the necessary sections.

This is where Formaloo shines, allowing you to dynamically change the flow of your forms based on your users’ responses.

What is Formaloo logic

Formaloo Logic is the system that enables you to add rules, conditions, actions, and default logic options to customize the flow of your apps or forms.

Here’s a breakdown of the core elements:

  • Rule: A logic rule consists of a condition and an action that determines what happens when the condition is met.

  • Condition: A conditional statement that evaluates to true or false, based on one or more conditions chained together using AND/OR operators.

  • Action: An item from a predefined list of actions, such as jumping to another field or skipping a section.

  • Default Logic: Default rules that are applied when no specific condition is met. There are two types:

    • Always: The action will always occur, such as "Always Jump to Field X."

    • Otherwise: This rule applies when none of the other conditions are met.

Example of logic in Formaloo

🗄️ Old dashboard:

There are two ways to edit a form’s logic - basic and advanced logic.

Basic logic in Formaloo

For users who need a simple, straightforward setup, Basic Logic allows you to quickly set up conditions without diving too deep into complex logic structures.

Here’s how to add basic logic to your form:

  1. In the dashboard: Select the form you want to edit.

  2. Logic tab: Click on the question you’d like to add logic to, and the Logic tab will appear on the right sidebar.

  3. Set logic: From this tab, you can directly set up conditions, actions, and logic jumps.

In Basic Logic mode, you can apply simple if/else rules to individual fields, making it easy to control the user flow without needing to reference multiple fields.

basic logic

🗄️ Old dashboard:

  1. Click on the form you’d like to add logic to

  2. Click on the Logic button located between the “Calculator” and “Duplicate” buttons

You’ll see a flowchart showing the form’s fields as boxes and arrows connecting fields to indicate how your audience will navigate through fields when filling out the form.

  1. Select the boxes (fields) on the flowchart for which you want to add logic to

  2. In the sidebar, you can start adding rules by clicking on the “Add Logic” button or editing the default rule inputs already present in the box.

You can add multiple rules to a field by clicking the Add Rule button.

logic & calculation

Advanced logic in Formaloo

Advanced Logic is where you unlock more complex functionalities for your forms and apps.

It provides two key features not available in the basic mode:

Cross-field logic

This allows you to reference any field before the current one, making it possible to set conditions based on multiple fields in the form. For example, in the advanced mode, when editing logic for field 3, you can refer to the data in fields 1 and 2.

Multiple conditions on a single rule

Using AND/OR operators, you can create multi-condition rules, where the logic action will only trigger if all or some of the conditions are met.

To do this, you first need to create a logic rule and then add additional conditions to it.

Advanced logic

To start using advanced logic:

  1. In the dashboard: Select your form.

  2. Advanced logic button: Once you click on a field, the option to switch to advanced logic will appear in the sidebar.

  3. Add conditions: You can now define complex rules by clicking the “Add Condition” button and selecting the appropriate conditions from any previous fields.

🗄️ Old dashboard:

To start editing the form’s logic in advanced mode, you need to click on the “Logic & Conditions Setup” button in the sidebar.

Setting condition for logic

Using the Logic Map to visualize conditional flows

When creating customized apps or form behavior with multiple conditions and jumps, the logic map is an essential tool.

logic map options

This map provides a bird’s-eye view of your form or app’s structure, illustrating how each question or field connects based on the rules you set.

Why use the logic map?

  • Simplify complex logic: With advanced conditions like cross-field references and multi-condition rules, a logic map can simplify tracking how different fields are connected.

  • Troubleshoot efficiently: See all logic paths in one place, allowing you to catch potential issues or overlapping conditions early.

  • Optimize user flow: With a clear visual of logic paths, ensure that the form’s flow aligns smoothly with the user journey.

Accessing and using the logic map

  1. Navigate to the Logic tab: In the form editor, go to the Logic tab, where you can configure logic rules.

  2. Open the Logic Map Overview section: Here, you’ll find a diagram that displays fields as boxes, showing connections based on conditions.

  3. Review and refine: Use the map to ensure conditions lead to the correct outcomes and adjust where needed to avoid conflicts.

logic map

With a logic map, you can approach complex configurations with confidence, ensuring that each field contributes to a cohesive, user-friendly flow.

Example of logic in action

Let’s say you’re building a customer feedback form. You only want users who rate your product as 3 stars or below to see a follow-up question asking them for more details on what went wrong.

With Formaloo’s logic, you can easily set up a rule:

If Rating ≤ 3, then Show Field ‘Tell us what went wrong.’

Users who rated the product higher will not see this question, saving them time and streamlining their experience.

Another scenario could be a purchase form where you need to gather additional information from users selecting specific products.

By using logic jumps, users selecting product A will see relevant questions about product A, while those selecting product B will be directed to a different set of questions.

By understanding the core components of Formaloo logic—rules, conditions, actions, and default logic—you can ensure that your forms and apps dynamically adapt to user input, delivering a customized experience every time.

Did this answer your question?