# setValidatorValue

### Parameters

1. controlId - Id of the control from which a validator is to be changed
2. validatorType - Type of the validator (e.g. vat, greaterThen, lessThen ...)
3. value - The new value
4. value2 - (optional) If the validator has two values, e.g. min and max, the second value can be passed here

### Example

```javascript
app.setValidatorValue('numValTest', 'greaterThan', 200);
```
