> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/enablevalidator.md).

# enableValidator

Enables or disables field validator.

### Parameters

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

### Example Usages

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