RequiredΒΆ

Checks if a field is filled in

Example Code:

validators {
  DefaultValidator {
    model = DefaultValidator
    config {
      fields {
        name.errorChecks {
          required {
            model = Required
          }
        }
      }
    }
  }
}