Adding Validation to Table Attributes
Overview
Validation added to tables acts as a data layer to help block invalid data. Applying validation to table attributes ensures consistency across your application, as the same validation is applied anywhere the attribute is used.
Validation is automatically applied to data being entered via a form by checking the it against the properties of the backing attribute, such as the length of a string and the type of data expected.
Video
Further Reading
Validation can also be applied to form fields on screens.
- Validation Type defines the expected input for the form field it is applied to for it to be considered valid.
- Validation on form fields allows set validation to be applied, e.g. mandatory, min/max length.
- Custom Validation on form fields allows bespoke validation to be applied, e.g. checking a value entered matches a value on a table.