enableValidator()

Enable particular validator for given field.

* presents a required parameter

  • field * — The field name
  • validator — The validator name. If it isn't specified, all validators will be enabled

More examples