Creating a rule for a widget
You can create a rule for a widget. When you create a new rule, you must define at least one step, and at least one expression and corresponding action for each step.
To create a rule for a widget:
- With the screen displayed in form designer mode (as detailed in Editing detail screens), select the widget for which you want to create a rule. You can select the widget by double clicking it.
- Click Create. The Rule Builder screen is displayed.
- Within the Description field, specify a name of the rule. Note that the description you specify will be displayed in the Rules list view (bottom portion of form designer screen) once you create the rule.
- Click Add Expression.
-
Select the applicable widget and operator from the dropdown lists, and specify
the applicable value.
- The expression block contains a widget or multiple widgets for which you can specify conditions to control the properties of other widgets.
- You must define at least one expression for a step.
- You can define multiple expressions for a step (by again clicking Add Expression).
- Once you have added the expression(s), click Add Action.
-
Select the applicable widget and property from the dropdown lists, and specify
the applicable value.
- The action block contains a widget or multiple widgets and corresponding properties for which you can control in runtime based on values specified in a widget.
- The actions are affected only when you move out of the final widget listed within the expression.
- You must define at least one action for the corresponding expression.
- You can define multiple actions for a step (by again clicking Add Action).
- Once you have added the desired expressions and actions, click Add Step.
- Click Create/Update and then click Close.
- Click OK to acknowledge the message that the rule was successfully saved; click Close.
- Click Save to complete the rule creation.