Expand my Community achievements bar.

Fill border change color

Avatar

Level 3

This should be simple...I'm trying to show a border around the field that is entered into and have the border disappear after the cursor moves to the next box.

1 Reply

Avatar

Level 10

Hi,

you'll need two scripts.

This one in the enter event of the field:


this.border.edge.color.value = "233,0,0";


this.border.edge.thickness = ".5mm"


And this one in the exit event.


this.border.edge.color.value = "0,0,0";


this.border.edge.thickness = "0mm"


Hope this helps!