I have a simple Yes or No dropdown list, I want the color of the filed to change to red if no selected. Is there a simple code for that
Thanks for the help
Use this as validate script of that dropdown:
event.target.fillColor = event.value == "No" ? color.red : color.white;
You can't change the color of a specific item in the drop-down, if that's what you mean.
This works nicely
thanks for the help