I have a field whichI am formatting based on the values entered, I need to change the color and font (italic and/or bold) based on what is entered. I am doing so in the 'Custom Format Script', but I want to remove the formatting when the user is entering a value.
I tried to reset the font's color and specs in the 'GotFocus' event using the following:
event.target.textColor = color.black
but it doesn't seem to work (The color remains whatever it was set to in the 'Format' script). Is there any way I can reset the font specs for data entry? Is there any way to force a 'refresh' of the fields' font attributes?
I've never found a way to do what you describe.
Thanks. I suspected as much, but was hopeful that someone might have a solution. I'll probably end up removing the formatting if there is no way to reset it properly.