Project and Portfolio Management Practitioners Forum
cancel

Color in a Drop down field.

Highlighted
Mahen M
Acclaimed Contributor.

Color in a Drop down field.

Hi,
I have a field which has a drop down validation and the values are 'Green', 'Amber' and 'Red'(shown in the snap)

I want to change the font color of the respective health Indicators into the respective colors or just change the background to the respective colors.

I tried by entering HTML code it the decription of the drop down values but that does not seem to work.

Is it possible to acheive this? Please advice.

Regards,
Mahendran M
2 REPLIES
Sascha Mohr
Acclaimed Contributor.

Re: Color in a Drop down field.

Hi,
HTML content in a field is only rendered when the field is read-only. So you could have an additional field for the indicator being read-only and displaying the color or an icon.
Or you could try the UI-rule setFieldStyle(), but I am not sure it will allow you to change the same field's style it is depending on (never tried).
Mahen M
Acclaimed Contributor.

Re: Color in a Drop down field.

If you find any options, Kindly let me know...

Regards,
Mahendran M