...
Code Block | ||||
---|---|---|---|---|
| ||||
// get a field, like the selfdesc field from offerheaderdata form. var field1 = akioma.root.dynObject.getObject('offerheaderdata').getField('selfdesc'); // add a custom state to that field, with an alert icon field1.controller.setCustomState('Alert1', {icon: 'fas fa-exclamation-triangle'}); // remove the custom state from that field field1.controller.clearCustomState('Alert1'); |