Validate uses two profiles, one is validation.xml, one is validator-rules.xml. Some purposes are described separately: 1) Validator-rules.xml: Define some universal JavaScript check rules. Note - If the tag contains a name: MSG property, the value indicating this property is defined in the resource file. For example: validator> where msg = errors.required, found in the properties file: errors.required = {0} is required. This is implemented Dynamic information prompt for general verification rules
We can also extend this file yourself, define the verification rules we need, just refer to the format in it.
2) Validation.xml:
Specify the verification rules for the page Form form. Such as