Use the below script
if(this.rawValue == 1)
this.fontColor = "255";
this.fontColor = "0";
Hope it helps
Hi Vipin! Thanks for the script!
The only problem is... when I add it to the checkbox, only the check MARK itself changes color, not the text associated with the checkbox as a caption.
Can you advise? Thank you, my friend!
I also tried this:
this.caption.font.fill.color.value = "255,0,0";
Still, not working. Weird, huh?
I found this unanswered comment here, which seems to be addressing the same issue, but we're using exactly the same script! I wonder why it's not working?
Ugh. Very odd. I tried your script, but I still cannot get it to work.
I'm using LiveCycle Designer ES Version 184.108.40.20629.1.523496
I had it on MouseUp, but I changed it to Click -- still nothing. Just the checkmark. :-(
The PDF that i have uploaded still not working?
I have created this PDF in designer 10.
Still not working. I hate to give up, I just don't have much more time to work it through. I tried everything I could think of, with no result. I copied your checkbox, I copied the script, I tried several permutations on the script, nothing.
What could be the issue?