NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on June 07, 2010, 12:37:30 PM
-
Hi,
What is the technique to color a field in a browse based on a field value.
i.e. if Yes - color field1 Green. If NO, color field 1 Red.
Is this getting into the CSS?
If it is, then what do I need to modify in the CSS and how do I call it for that browse field?
Thanks,
Ron Jolda
-
Yes you need to do via CSS. You can set a custom CSS class for each field on the browse. In your case you would need to set this to a variable and then add your logic in the BeforeTableRows routine. You should have your own CSS file that you can add to. Study the NT CSS file and copy some chunks of code to your own CSS and rename and modify them. Use FireBug with FireFox to debug the CSS.
-
You dont have to go to the embed, you have a Conditional tab where you can programa the consition and the CSS for each one (among other things)
Alberto
-
THanks for your insight guys.
Now I know where to start!
Going to have a go at it!
Ron