If a validation rule is added to a control, the action Validate Controls on Screen can be used to check if the object obeys these rules. 

If the input for the control breaks a rule, this action will highlight the field in red, display what needs to be fixed, and all other actions below this action will be ignored. 

Example: Below, the Name field is required and the action was called to validate this field. Since the field was empty, it was outlined in red and text is displayed to show what the validation error was. Any other action after this action is ignored.

Configuring This Action

When you add the validate controls on screen action, you can choose to validate:

All controls: all controls on the screen will be validated.
Selected controls: a subset of the controls will be validated.

  • Select a control: this dropdown has a list of controls on the screen to select from.
  • Edit Validations (#): selecting this link will bring up the validation rules of the selected control. The number in brackets indicates how many validation rules there are for this control.
  • ⊕ Add another control: This only appears if there are other controls with validation rules.

Did this answer your question?