ContainsAllΒΆ

Checks if a field contains all of the configured values.

Example Code:

validators {
  DefaultValidator {
    model = DefaultValidator
    config {
      fields {
        message.errorChecks {
          containsAll {
            model = ContainsAll
            values = Hello,Regards
          }
        }
      }
    }
  }
}

Properties

values

Comma separated list of values of which all must be present in the value of a given field

Mandatory

False

Data Type

String

Default

Empty String