Skip to content

Commit b50ebdb

Browse files
authored
Update README.md
1 parent 6b41713 commit b50ebdb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ Xrm.Portal.Form.get(attributename).setDisable(bool);
2424
Xrm.Portal.Form.get(attributename).setRequired(bool); //Default - a default validation and a default message
2525
Xrm.Portal.Form.get(attributename).setRequired(bool, function, message); //A custom validation and a custom message
2626
```
27+
## Attach/Remove OnChange event of an attribute
28+
```
29+
Xrm.Portal.Form.get(attributename).attachOnChange(callback);
30+
Xrm.Portal.Form.get(attributename).removeOnChange();
31+
```

0 commit comments

Comments
 (0)