Avatar

Level 1

I have read through most all of the threads, but found none pertaining to my specific question.  I would like to change the fillcolor of a numeric field based upon the status (on/off) of a checkbox located on a different page.  In other words, if the checkbox is checked I want the numeric field to be yellow with a solid (thin) black border.  I have tried:

If (CheckBox1.rawValue="1")

{this.fillcolor="R,G,B";} else

{this.fillcolor="250,250,250"};

I haven't gotten the correct RGB values yet for the color I am using, that is why the script has "R,G,B"

I am pretty new at javascript and have been learning a lot from the forums, but I just can't seem to figure this one out.  Any help would be greatly appreciated.  Thanks