Dynamically Change Label Font Color

Is there a way to change the label font and color based on information I look up when a form loads?

I am trying to find the best method to “Highlight” fields that I want users to fill in… but based on the type of item they are looking at the fields will change… so I want to first lookup what fields need to get their attention, then highlight those fields.

This is all on a form… and I already have the javascript method I found in this forum to change the background color of a field… but that doesn’t work for Capture fields where the user can’t enter their own data… as no text box is shown unless data is already in the field.

Any ideas?

Thanks!

use CSS to do so

Yes sir that did the trick. I was able to dynamically adjust the CSS of the input object fields in the onLoad event.
Like so often I search and search, dont find anything, post to the forum, keep searching and then find a solution. It ended up being what I found was what you suggested.
Thank you again!

For those that do not know CSS can you provide an example of what you did?.