This topic is locked

Background Color

4/15/2008 7:26:55 AM
PHPRunner General questions
K
kklh author

Hi is this possible to check this on values insted off fields, if i want to hide the field on the side. I am using the list page and before record processed.
Reg Kim.
//** Custom code ****

// put your custom code here

if($data["change1"] == "1")

{

$row["rowstyle"]="style=\"background:yellow\"";

}
if($data["Start1"] == "1")

{

$row["rowstyle"]="style=\"background:#66FF99\"";

}
if($data["stop1"] == "1")

{

$row["rowstyle"]="style=\"background:#FF3366\"";

}

J
Jane 4/15/2008

Kim,
I'm not sure that I understand you correctly.

What does "check this on values" mean?

K
kklh author 4/15/2008

Kim,

I'm not sure that I understand you correctly.

What does "check this on values" mean?


Hi Jane

I tried to say that it should be on the slected values eks values["change1"] instead off the field value, so i can hide the field on the side .
reg. Kim

J
Jane 4/16/2008

Kim,
to hide field value edit $row array:

$row["1FieldName_value"] = "";