enableValidator
Enables or disables field validator.
Parameters
controlId - The control id of the field
validatorName - the name of the validator
enable - enable (true=default) or disable (false) the validator
Example Usages
app.enableValidator("firstName", "notEmpty", false); //disables the validation of notEmpty for the control firstName
Return Values
Function does not explicitly produce return value.
Last updated
Was this helpful?