Fill border change color

Avatar

Avatar

NY2CA

Avatar

NY2CA

NY2CA

14-10-2015

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

387

Correct Answer

485

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

387

Correct Answer

485
radzmar
MVP

14-10-2015

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!