Supported Rules

Prev Next

The following image shows the different levels where rules can be defined:

Repeating Group Rules

Table rules, loading row rules, row inserted rules, and row deleted rules are all repeating group rules. These rules are either formatting or action rules. Select a repeating group to manage the group rules.

Rule

Description

Example

Table Level

Can only add Format rules to show/hide the repeating table

Loading Row

Can only be an action rule which is executed on each row when a repeating group record is loaded

Row Inserted

Can be Format or Action rules that are executed after a new row is inserted into a repeating table.

Row Deleted

Can be Format or Action rules which are executed after an existing row is deleted from a repeating table

Form Loading Rules

These are rules executed while loading the form, and only support Action Rules. These are executed only once unless you reload the form. Form load rules can be edited by clicking Form in the field list and then Loading Form in the Rule Panel.

Form Submit Rules

These are the rules executed when submitting the form and only support Action Rules. Form Submit rules can be edited by clicking “Form” in the field list and then “Submitting Form” in “Rule” Panel.

Field Rules

Field rules support Format, Action or Validation rules. Any controls bound to a field will have all the formatting and validation rules applied. An action rule is triggered when the data is changed for the field. Action rules on a field are triggered when the Button control is clicked or after changing a Text Box control’s value. This is the most common scenario where rules are executed.

Rule Set

In the UI Designer, each field can be assigned a rule set containing one or more rules. All rules in a rule set are executed one by one in a particular order:

  1. The green + sign button at top-right corner of the Rules creates a new rule in this rule set.

  2. Click any of the rules in the list (see Rule_1 in the screenshot) and a red X appears at the rear of list item. Click the red X to delete the selected rule from rule set.

  3. The Stop sign, when activated (shown dark; see Rule_3 in the screenshot), will stop the execution of that particular rule. When disabled (greyed out, in its default state; see Rule_1 and Rule_2) the rule is executed.

  4. Any rule item in the list can be dragged around within the list to change the rule firing order.

Rule Name

To create or modify a rule name, click the “Rule Name” field and type in the desired name.