DateΒΆ

Checks if a field value is a valid date. Format must be YYYY-MM-DD e.g 2023-07-19.

Example Code:

validators {
  DefaultValidator {
    model = DefaultValidator
    config {
      fields {
        birthdate.errorChecks {
          date {
            model = Date
          }
        }
      }
    }
  }
}