The messages is one of the part most important of the semantic-validate, is thought them the user will understand why some field is invalid, below was listed some scenarios:
- The user can set a default message for a specific rule and this message will display for all types;
- The user can set a message for a specific rule in a specific field and this message will display just for this specific scenario;
- The user can set a message for a custom pattern validation as a custom function passed for it as a argument and this message must have to be displayed correctly
The messages is one of the part most important of the semantic-validate, is thought them the user will understand why some field is invalid, below was listed some scenarios: