I have a field CHAR field which contains an HTML HEX color value.
On a grid, I am able to display the actual color of the HEX value, as shown in the attached sample. by using the following code in OnRecord
$colr = {colorHtml};
$fontColr = “#ffffff”;
sc_set_global($colr);
sc_set_global($fontcolr);
sc_field_style({swatch}, [colr], ‘15px’,[fontColr],‘Arial, sans-serif’, ‘bold’);
I want to do this on a form as well, but neither support now I know how.
Anyone know how, possibly with CSS?
Lewis