Validation
Overview
The Validation Tab settings control Front-End and Back-End validations for fields. It includes required fields, unique data, min/max requirements, custom validations, and error messages.
Validate On
Determines when the field's front-end validation will occur based on the option selected:
- Change - Validation will actively trigger any time there is a change in the field. It is the default option for every field.
- Blur - Validation will only trigger when the field is no longer focused.
Use the Blur option on fields that require a specific format to ensure validation is only triggered once the user has completed the data input. EG Email field
Required
The field requires a value before proceeding to the next Wizard form page or submitting the form.
Minimum / Maximum Length
The field value must meet a minimum or maximum length requirement. This behavior varies depending on the component where the setting is applied.
- String (Ex: Text Field, Text Area) - The number of characters determines the field's value entered.
- Number - (Ex: Number, Currency) - The value in the field is determined by the numerical amount entered.
- Array (Ex: Data Grid, Edit Grid) - The component's number of arrays determines its outcome.
Use the Minimum/Maximum Length feature in Data Grids or Edit Grids to limit the number of rows a user can add or remove.
Regular Expression Pattern
You can use a specific pattern or filter to match a set of strings by setting a Regex Pattern. The string must meet the pattern requirements to submit the form successfully. Regex is a standard setting used for this purpose.
Error Label
The field name appears in the validation message upon triggering the validation.
When a field has a long label or name, shorten validation messages.