ColorCode Control - Form Applet
Hi,
I am trying to color code a Control in the form applet based on the field value, in this case, if the Contact Status is 'Invalid', color code the field with 'Orange'. I have 2 issues that I am not able to figure out the solution.
a) The color code on the Control is only being applied on the borders on the Control and not in full.
And below is the detail of the Control element. Attached the PR code for further analysis.
and the 2nd issue:
b) The Color code remains 'Orange' even though I step of the records, from the time I select the 'Invalid' Contact. For instance, I am on a 'Invalid' Contact, and click on next record, the color 'Orange' still remains though the latest record selected is not 'Invalid'. Included PM code for reference.