> 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/setcontrolunmodifiedvalue.md).

# setControlUnmodifiedValue

Sets the value, that is used to compare to the actual control value. If both are not equal, the field will be marked as changed.

1\. Simple Example Usages

```javascript
   brixxApi.setControlUnmodifiedValue("myControlId", "unmodified Value");
   brixxApi.setControlUnmodifiedValue("myControlId", 1); // sets the value to 1.
```

2\. Simple Example Usages with variables

```javascript
   let valueToCompare = "Hello Wolrd!";
   brixxApi.setControlUnmodifiedValue("myControlId", valueToCompare);
```
