This topic is locked

automated color change

10/27/2008 5:39:48 AM
PHPRunner General questions
scuba author

is something like that possibel:
if value in field_1 == "X" change font color in field_2 to red
thanks for your continuous help, but I'm getting better <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=9987&image=1&table=forumtopics' class='bbc_emoticon' alt='B)' />

J
Jane 10/28/2008

Hi,
use custom format on the "View as" settings dialog on the Visual Editor tab.

Here is a sample:

global $data;

if ($data["field_1"]=="X")

$value = "<font color=red>".$value."</font>";