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:

  1. 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.
  2. Click Create. The Rule Builder screen is displayed.
  3. 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.
  4. Click Add Expression.
  5. 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).
  6. Once you have added the expression(s), click Add Action.
  7. 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).
  8. Once you have added the desired expressions and actions, click Add Step.
  9. Click Create/Update and then click Close.
  10. Click OK to acknowledge the message that the rule was successfully saved; click Close.
  11. Click Save to complete the rule creation.