Validator Catalog Home Docs Home

BasicValidator reference

This is the date validator implementation.

Here are the Default Validator Messages

configuration entries reference
Key Description
dateFormat The date format will be used to check if it's possible to convert the value
miDate If set checks for minimum date
maxDate If set checks for maximum date


top

Entry dateFormat
Default (no default, required)
Example yyyy-MM-dd
error message key error.date
error message params 0 - field label
1 - value
2 - info or dateFormat
Since 0.7.4.6


top

Entry minDate
Default (no default, optional)
Example 2020-01-01
error message key error.date.min
error message params 0 - field label
1 - value
2 - minDate
Since 0.7.4.6


top

Entry maxDate
Default (no default, optional)
Example 2020-12-31
error message key error.date.max
error message params 0 - field label
1 - value
2 - maxDate
Since 0.7.4.6


top