Hi Bruce,I checked all the cells with scripts and there is nothing on an exit event.The problem was that the subforms were all called Subform1 instead of 1, 2, 3, 4.So, this code works fine now:if (xfa.event.change=="green") { this.fillColor = "000,128,000";} if (xfa.event.change==...