About Form Validation and Visibility
  • 29 Jul 2022
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

About Form Validation and Visibility

  • Dark
    Light

Article summary

Overview

Within Decisions, Flows and Rules can be leveraged to provide additional dynamic behaviors on a form. They can be used to validate user input as it is being entered on the form or be used to hide and show additional controls.

About Validation

One of the most common requirements of an application is to validate form inputs before accepting them. By assigning flows or rules to forms, the system can validate form data before exiting the form, preventing users from entering invalid information in an application.

For example, data entered in the email address field should be in the proper format. A validation flow/rule assigned to the email address field can check the format. If the format is invalid, an error displays when the user attempts to submit the form, and the error must be corrected before the form can be submitted.

The following articles show tutorials on Validating Form Data.
Validating Form Data with a Rule
Validating Form Data with a Flow

Video_2019-09-12_162312.gif

About Visibility

Form controls can be used to manage visibility and enable or disable other controls by applying Visibility Rules.

For example, applying a Visibility Rule to a checkbox can hide a portion of the form that may not be relevant to the user. Also, if a Visibility Rule is applied to a control and the rule evaluates as true it can enable or disable another control on the form.

The following articles show tutorials on using Visibility Rules.
Controlling Form Fields with Visibility Rules

Video_2019-09-17_125035.gif


Was this article helpful?