Hi
Hopefully a nice simple one but I can't get it to work. Basically we have a form with an Combo Box on it, Yes, or No, In the paper version of the Form, if Yes is circled then they Red Rubber Stamp it to make sure it's very visible that Yes has been selected as extra work then needs to be done.
I'm trying to do something similar here, something simple like having Yes in Red and Bold, or make the combo box background red to make it stand out but I don't seem to be able to change it for one selection only, it's all or nothing.
So I'm guessing the answer is javascript, which I don't really know at all, I can't find anything about this problem in the forums but I've found a few different bits of code that look like it might work but I can't seem to make anything happen by sticking it all together.
This is what I'm trying in custom keystroke:
var s = this.getField("combo1");
if (s.value == "Yes")
{
combo1.fillColor = color.red;
}
Now I've no idea if it's the right code in the wrong place, the wrong code in the right place, or is just completely wrong. Can anyone shed some light or suggest an easier way?
George Kaiser