What is Logic & Calculations
Updated over a week ago

Formaloo Logic essentially gives your app and database multiple functionalities in a very simple way. It lets you create any conditions you want, create logic jumps, and criteria you want to customize your app or form’s behavior.

In summary, it gives your apps the power of if/else and loop functions! Formaloo Logic is what sets Formaloo apart from other online tools. Imagine a really long form asking for too much information, and most of the questions aren’t even relevant to the majority of your audience. Well, at best, it would be a boring, low-conversion, and unnecessarily long form. At least I wouldn’t fill that out for you, my friend!

Here's a list of the sections in Logic and Calculation:

  • Rule: A logic rule consists of a condition and an action declaring what to do when the condition is met

  • Condition: a conditional statement that evaluates to true or false (consisting of one or more conditions chained together using AND and OR)

  • Action: an item from a predefined list of actions

  • Default Logic: there are actually two types of default rules:

    • Always: When the only rule is the default rule, the action will be taken unconditionally, for example: Always Jump to Field X.

    • Otherwise: When there is at least one non-default rule, this default rule will be followed when none of the other conditions are met—kind of a last resort.

There are two ways to edit a form’s logic:

Basic Logic

In the 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.

Advanced Logic

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

For the most part, it’s the same as the basic mode, but there are basically two types of limitations that are unlocked here:

  1. Cross-field logic:

  2. Multiple conditions on a single rule (example in Figure B.)

Cross-field Logic

In the basic mode, you can only define logic rules on the selected field. For example, when you’re adding logic to the second field, you do not have access to the first field to check if a condition is met or not. On the other hand, while in Advanced mode, you may reference any other field before the current one.

Multiple conditions on a single rule

As mentioned in the first section, you can use AND/OR operators to build multi-conditional rules. To do so, you have to click on the “Add Condition” button while editing the field’s logic. Please, also note that conditions are added to the rules. So, you need first to add a logic rule, and then you’re able to extend the rule by adding more conditions to it.

When a field’s logic is considered to be Advanced (having cross-field logic or rules consisting of multiple conditions), it won’t be editable in the Basic mode in the sidebar, and you’ll have to view and edit the logic in the Advanced mode.

Did this answer your question?