Form Validations components

<< Click to Display Table of Contents >>

Navigation:  Bizagi Studio > Process wizard > Define Forms > Customizing controls behavior > Actions and Validations >

Form Validations components

Validations display (throw) validation messages to the end users when defined conditions are met.

To define a validation, go to the Actions & Validations wizard and click the Add button within the Validations tab :

 

 

Controls behavior2

 

Validations are defined by two components: Condition and Validation message.

 

Conditions (If)

Click Add a condition. A new row will be displayed to add a condition.

 

Controls behavior7

 

Conditions are defined by:

 

Control: Defines the control to be evaluated. This control MUST be included into the form where the validations are configured.

Operator: Defines the comparison operator for the condition.

 

Operator

Description

Applies to

changes to

Evaluates if the value of a control has changed to a specific value

Combo, Cascading combo, List, Radio, Search, Suggest, Currency, Number, Date

is different to

Evaluates if the value of a control is different to a specific value

Combo, Cascading combo, List, Radio, Search, Suggest, Currency, Number, Date

is empty

Evaluates if the control is empty

Combo, Cascading combo, List, Radio, Search, Suggest, Currency, Number

is not empty

Evaluates if the control is not empty

Combo, Cascading combo, List, Radio, Search, Suggest, Currency, Number

changes

Evaluates if the value of a control has changed

Combo, Cascading combo, List, Radio, Search, Suggest, Currency, Number, Date

does not contain

Evaluates if the value of a control does not contain an specific character

Text box

contains

Evaluates if the value of a control contains an specific character

Text box

begins with

Evaluates if the value of a control begins with an specific character

Text box

does not begins with

Evaluates if the value of a control does not begin with an specific character

Text box

is an invalid email

Evaluates if the value of a control is an invalid email

Text box

less than

Evaluates if the value of a control is less than a specific value

Date, Currency, Number

less than or equal to

Evaluates if the value of a control is less than or equal to a specific value

Date, Currency, Number

greater than

Evaluates if the value of a control is greater to a specific value

Date, Currency, Number

greater than or equal to

Evaluates if the value of a control is greater than or equal to a specific value

Date, Currency, Number

has a row deleted

Evaluates if a row has been deleted in a table.

Table

click

Evaluates if a button has been clicked

Button

is true

Evaluates if the value of a control is equal to true

Boolean

is false

Evaluates if the value of a control is equal to false

Boolean

has a file uploaded

Evaluates if a file control has a file uploaded

File

has not files uploaded

Evaluates if a file control has not files uploaded

File

 

Argument: Defines the value to be compared with the control. This value can be a constant or a data binding.

 

You can create compound conditions connected with AND and OR.

 

To create a compound condition connected with an AND click Add a condition.

To create a compound condition connected with an OR click Add a condition group.

 

Controls behavior8

 

Validation message (Then)

Defines the message that will be displayed to the end users when the defined conditions are met. This message can be localized in order to be displayed in the proper language according to the end users configurations.

 

Click to see an example of how to configure basic validations