The Admin Box toolkit provides a few simple validation options for fields. These validation rules can be defined using properties in TUIX, as opposed to writing code in your validateAdminBox() method.
To use one of the validation rules for a field, include each of the validation properties that you wish to check for. You sound enter the error message to display if the rule is not satisfied for the value of each property.
validation: