Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

New Form Creation Question

gjcluttrell
Level 4
Level 4

I have my form created with all the information I need in it. I also have my TAB order the way I need it to be. My question is, is there a way for me to make the current field I'm in be highlighted a certain color so the person filling out the form will know where they are at quickly instead of looking for the blinking curser? I'd rather have the field highlighted a color. Thanks

1 Accepted Solution
djaknow
Correct answer by
Level 7
Level 7

Here's a link to an RGB color chart, if you know the RGB code for your shade of pink you can just set the exit RGB code to that.

http://www.tayloredmktg.com/rgb/

View solution in original post

3 Replies
djaknow
Level 7
Level 7

Sure, on the enter event you could type in:

this.border.fill.color.value = "0,255,0";

to turn the background green, for example, and then on the exit event of the same field:

this.border.fill.color.value = "255,255,255";

to change the background back to white when the user leaves the field. You'll need to set the scripting language to javascript for these to work.

gjcluttrell
Level 4
Level 4

GREAT! Thanks...it works great & that's exactly what I wanted to happen!

Is there a list of color codes so I can play around with the colors to see which one looks best? Right now, the document is a pink color. When I exit it turns it to white, is there a way for it to go back to the original color? Thanks again!

djaknow
Correct answer by
Level 7
Level 7

Here's a link to an RGB color chart, if you know the RGB code for your shade of pink you can just set the exit RGB code to that.

http://www.tayloredmktg.com/rgb/

View solution in original post