Conditional Formatting of a field on an edit page
I'm hoping to add conditional formatting to a lookup field on an edit page (UsrColour).
UsrColour lookup = Id (Guid), Name (String), Hex (String).
Ideally, I'd like the colour to change based on the lookup value and for the colour to come from the Hex field in the Colour lookup. Alternatively, hard coding the colours into the page code would be an acceptable alternative.
I can format the field using the article below but not conditionally:
Adding Custom CSS Style Sheets in Creatio (formerly bpm’online) | Customer FX
Any assistance would be greatly appreciated.