Skip to main content

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:

Controlsbehavior2

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.

Controlsbehavior7

Conditions are defined by:

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

Note:
Exclusive boolean controls within a table cannot be used as controls within actions and validations.

  • Operator: Defines the comparison operator for the condition.
OperatorDescriptionApplies to
changes toEvaluates if the value of a control has changed to a specific valueCombo, Cascading combo, List, Radio, Search, Suggest, Currency, Number, Date
is different toEvaluates if the value of a control is different to a specific valueCombo, Cascading combo, List, Radio, Search, Suggest, Currency, Number, Date
is emptyEvaluates if the control is emptyCombo, Cascading combo, List, Radio, Search, Suggest, Currency, Number
is not emptyEvaluates if the control is not emptyCombo, Cascading combo, List, Radio, Search, Suggest, Currency, Number
changesEvaluates if the value of a control has changedCombo, Cascading combo, List, Radio, Search, Suggest, Currency, Number, Date
does not containEvaluates if the value of a control does not contain a specific characterText box
containsEvaluates if the value of a control contains a specific characterText box
begins withEvaluates if the value of a control begins with a specific characterText box
does not begin withEvaluates if the value of a control does not begin with a specific characterText box
is an invalid emailEvaluates if the value of a control is an invalid emailText box
less thanEvaluates if the value of a control is less than a specific valueDate, Currency, Number
less than or equal toEvaluates if the value of a control is less than or equal to a specific valueDate, Currency, Number
greater thanEvaluates if the value of a control is greater than a specific valueDate, Currency, Number
greater than or equal toEvaluates if the value of a control is greater than or equal to a specific valueDate, Currency, Number
has a row deletedEvaluates if a row has been deleted in a tableTable
clickEvaluates if a button has been clickedButton
is trueEvaluates if the value of a control is equal to trueBoolean
is falseEvaluates if the value of a control is equal to falseBoolean
has a file uploadedEvaluates if a file control has a file uploadedFile
has no files uploadedEvaluates if a file control has not files uploadedFile
  • Argument: Defines the value to be compared with the control. This value can be a constant or a data binding.

Date type arguments

The date type arguments can be defined in two ways, a fixed date or a function.

  • As a fixed date, you choose the specific date to be compared with the control.
  • As a function, you have available two functions: today and now, both take the current day as the date to be compared with the control. The now function additionally contains the hour of the day and is available for date controls that have enabled the "show time" property.

Controlsbehavior19

Multiple conditions

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.

Controlsbehavior8

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 user's configurations.