Okey... I am not quite sure if I can help much...On which event did you put it? I'd put it on change...Well, then check out if your "on" and "off" values really are really what you asked for. If they are and it still won't work, you could try to make 2 if sentences instead of an if...else.