← Logic

Configuring logical conditions

Let's look at an example of setting conditions for fields. The user should be offered a choice of real estate actions. Depending on the selected item, the necessary fields will be displayed. The diagram shows: if the user selected "Rental property" or "Buying real estate" or "Real estate for sale", then the next step will be to select the property category: secondary market apartment, new building, and detached house.

Under the condition that "Rental property" or "Buying real estate"" is selected and in the next step: "Secondary market apartment" or "New building", the user will be offered a block with the choice of the number of floors of the property and a block with the number of rooms. After the user will need to fill in their data in the fields: "Name", "Contact phone number" and "E-mail'.


If the user selected "For Sale" and "Secondary market apartment" or "New building", he will also get to the block with contact information. And if the user has chosen any option in the first block and the "Detached house" in the second block of options the user will enter the block with the area of the plot and further to the block with the contact data.

Now in the personal area, let's add elements to the form: "Switchers", "Checkboxes", "Name", "Phone field" and "E-mail field". To do this, click the item you want and it will appear in the Workspace:

Setting logical conditions 1

Let's change the standard variant names and add the required number by clicking on the edit icon:

Setting logical conditions 2

When you've added your answer choices, fields for entering your name, contact number, and email address, go to the "Rules for Form Fields" tab in the "Logic" section.

Configuring logical conditions 3

At this point we don't have any rules, so after clicking the "Add Rule" button, the following window will appear:

Setting logical conditions 4

We need to select a condition so that when we select an answer choice using the Real Estate Operation switch, the correct checkboxes are shown. To add an additional logical condition "AND", "OR", you need to click the icon "+Add Condition":

Setting logical conditions 5


It's worth noting here that if we're setting conditions from different blocks, we should use the logical "AND". And for grouping conditions, we should use a logical OR.

After adding the conditions for displaying the "Desired Floor" block you should press the "Save" button. Then you will get this kind of conditions:

Setting logical conditions 6

According to the scheme, let's add the conditions for displaying the housing type checkboxes:

Setting logical conditions 7

Get the following rule, using a logical OR that when you select the "Real Estate Transaction" switch option, show a selection of "Housing Type" checkbox response options

Now let's set the rules for the "Desired Floor" block:

Setting logical conditions 9

If the user selects one of the house floor options, the next step - "Number of rooms" - should be displayed, according to the diagram. Save the added rule by clicking the "Save" button:

When the user selects the desired option using the checkboxes in the "Number of rooms" block, they should be directed to the block to get contact information. Therefore you should add a display rule for this condition:

Setting logical conditions 11

As a result, the added rule will look like this:

Setting logical conditions 12

Now according to the scheme let's add more conditions when choosing the answer choices "For sale" from the "Real estate transaction" block and "Secondary market apartment" and "Newly built" from the "Property type" block, to display a block with contact information, so we go into editing the rule:

Setting Logical Conditions 13

Here we also use the logical "AND" to group different elements (blocks of choices) and the logical "OR" to group combinations of logical "ANDs":

Setting logical conditions 14

According to the scheme, you still need to create the rules for displaying "Plot Area" when selecting from the "Real Estate Transactions" block answer choices and the "Private House" answer choice from the "Housing Type" block:

Setting logical conditions 15

Since we added the "Housing Type" display rule above, hence we are adding a display rule for "Private House":

Setting logical conditions 16

Once you've selected the answer choices from the "Plot Area" block, then add an appropriate condition to get contact information:

Setting logical conditions 17

As a result, we'll get the required action and when selecting the "Area of the plot" answer options:

Setting logical conditions 18

It's worth noting that here we haven't broken the rules for displaying some fields, they don't overlap with other rules. That is, if we made 3 rules and showed blocks with contact information, we wouldn't get the data with the contact information of the user who filled out the form.


When creating rules for form fields, you should understand that if the condition in the rule is met, the specified action is triggered, for example, the field is shown, but if the condition is not triggered, the opposite action occurs and the field is hidden. So, you don't need to create multiple rules to display the field and a separate rule to hide it.

Also very often users make the mistake of putting the same fields in different rules in the action. This is wrong! Because if one rule works and the action is executed, then the second rule will not work and the opposite action happens. This leads you to think the rules don't work.

To avoid this, you should group these conditions into a single rule with a logical OR and set the action for only one field. This way you achieve a unique action on the field, and it will be either displayed or hidden.

Setting logical conditions 19

Create any web form
in just 3 minutes!

We use cookies to make it easier for you to use the website. By using this page, you agree to our cookie policy.