Field Background Colouring

The web client appears to be showing a different rendering of fields with background colours. I want to show colour coded fields depending on the users selection. I have used a simple html string as follows:

case ‘mon’:day_mon = ‘

’;break;

This works perfectly in smart client, however when the app is migrated to the web client this breaks and you loose the background colouring.

Do any of you know why this is OR an alternative way to colour specific fields based on their content ?

Many thanks

Maybe on web the size of div is very small ? (or 0) Did you try putting a text in there ?

Hi

I will try other options - it would be a lot easier if we could use the web client in this context.

The aim was a traffic light sort of process where there are 3 modes given the colour can change we can highlight which is which. The main criteria is it works as a list in table view otherwise I would be inclined to just change the element.

Thanks for the reply …

Gordon

You could try to put an image.

Good point I will try that it will get round the font too

I think there was an example in the Servoy CRM example for changing button states on click - that should work

Thanks