disableValidator()

Disable 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 disabled

More examples