Hi,You could put similar javascript in the exit event of TOTALALLO
field:var vName = this.somExpression;var fieldObj =
xfa.resolveNode(vName + ".ui.#numericEdit.border.fill.color"); if
(this.rawValue > ALLOTEDOCIE.rawValue) { fieldObj.value =
"255,225,225";}else { fieldObj.value = "225,255,225";}/* Check the type
of object and change the .ui reference: Date field = #dateTimeEdit
Dropdown = #choiceList Checkbox = #checkButton Text field = #textEdit
Numeric field = #numericEdit*/ Note this is base...