Validation
Entity
Property
Required Metadata
Optional Metadata
Comment
You can add validation to any input type, including array. For array you can only add required validation.
"validation": {
"required": true,
"minLength": 10,
"maxLength": 50,
"pattern": "^[A-Z]{5}[0-9]{4}[A-Z]{1}$",
"min": 10000,
"max": 25000
}
"hint": "Value must be between 10000 and 25000." // It will show hint for input
** When you use inputType email the system will be add pattern validation "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$", you need not required to add pattern validation explicitly.