brixxbox Wiki
Ask or search…
K
Comment on page

enableValidator

Enables or disables field validator.

Parameters

  1. 1.
    controlId - The control id of the field
  2. 2.
    validatorName - the name of the validator
  3. 3.
    enable - enable (true=default) or disable (false) the validator

Example Usages

brixxApi.enableValidator("firstName", "notEmpty", false); //disables the validation of notEmpty for the control firstName