Say, there are two types of color fields- greenText1 and redText2. If user fill in redText2, redText2 will turn into greenText1. So, what is the code for it?
I am not quite sure if you want to do but I am going to guess that you want the field to be red until it has text in it and then you would like it to be green, in which case you could have a validation script something like
if( event.value != "")
event.target.fillColor = color.green;
event.target.fillColor = color.red;
Hope this helps
Thanks. It works well.