Highlighted

Global fill color change

NY2CA

22-11-2012

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.

Replies

Highlighted

TundraSteve

22-11-2012

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.

Highlighted

Vjay_Reddy

22-11-2012

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

Highlighted

NY2CA

22-11-2012

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

Thanks.

Highlighted
Highlighted

NY2CA

22-11-2012

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

Thanks again.