Logic: Rules

Rules are triggered by Conditions and once triggered they execute one or more steps.

  Note

In order to use Rules, you must first enable the "Logic" feature within the Settings screen.

Rules can be set up within the Logic screen and to add a rule, you simply need to click the 'Add Rule' button and then configure it:

    1.  Name
    2.  Is active flag (active by default)
    3. Condition check method - defines whether all conditions or just one condition must be met before a rule will be triggered.
    4. Run Once flag (inactive by default) -defines if the rule is fired once, on all form data load, or constantly after the user makes a change in the form.

  Note

Rules where the 'Run Once' flag enabled change the default state of an object (field, section etc.) To know more please look at the example below.

logicRuleUpdate.gif

 

Rules can be copied or deleted and their order can be changed using drag & drop.

 

Example

What is a difference between rule with and without flag 'Run Once'?

In the following example we have a form with two fields: 'Text' and 'Text2'.

When the 'Text' field is empty, the title of the 'Text2' field will change to 'This is another title'.

2019-08-21_1028.png

This is how it appears when 'Run Once' is not enabled:

logicRuleegzample.gif

This is how it appears when 'Run Once' is enabled:

logicRuleegzampleRunOnce.gif

Rule with the flag was executed only once, but it also changed the default value of the field.

 

All rules must have a Step in order to perform some action however Conditions are not required. For example, if you want a rule to be triggered all the time you could create it without a condition.

Was this article helpful?
0 out of 0 found this helpful