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

Global fill color change

NY2CA
Level 3
Level 3

Is there a way to have the color change in a field for all fields on a form on entry and exit without having to code a hundred fields individually.

Example:

On enter: this.fillColor = "164,222,171";

On exit: this.fillColor = "250,250,250";

I want all the fields on the form to do this, but with over 50 fields it seems very time consuming.

Thanks.

1 Reply
TundraSteve
Level 8
Level 8

Are you doing this just so that people know which field they're in?  If so why not just click the highlight fields button on the top right.

NY2CA
Level 3
Level 3

I want to choose a different fill color and that shows all fillable fields, not the one you are currently in.

Thanks.

NY2CA
Level 3
Level 3

Right, but I want to only highlight the field you are in, showing the user where they are on the page.

Thanks again.

Vjay_Reddy
Level 5
Level 5

If Names of the textfields are in sequence then it can be done easily and all the text fields should be under the same subform ..example : textField1,textField2,textField3

NY2CA
Level 3
Level 3

They are in sequence Cal1, Cal2 etc. All in a subform. Can this be done easily? If so how?

Thank you.