Validations

In the Validations section, you can set various conditions that the entered data must meet to be considered valid. By configuring these parameters, you can anticipate different response options and minimize the risk of potential errors, such as a code exceeding the allowed character limit.

In general, the basic validations you can set are:

Property
Characteristics

Min

Refers to the minimum acceptable value for that field and is entered as a number. The type of value varies depending on the field; for example, in text fields, it refers to the minimum number of characters the input can contain, while in numeric fields, it refers to the lowest accepted number.

Max

Works the same way as Min, but instead defines the maximum allowed value.

Whitelist

Allows you to create a list of the only values that will be accepted in that field. To input them, type each value and press enter, which will save and display them as tags in the configuration.

Unlike fields with options, the user will not see this list but will receive an error message clarifying the accepted values when entering an unapproved one.

Blacklist

Configured in the same way as Whitelist, but unlike this property, it allows you to define a list of values that will not be accepted in that field. The user can enter any data except those listed here.

Validation properties

Next, we will look at another type of more complex validations that allow for the analysis of specific data and, if certain conditions are met, prevent the form from being submitted and display a custom error message: Validation Expressions.

Last updated