Change colour of row in list view based on field value |
1/11/2007 7:51:21 AM |
PHPRunner General questions | |
N
Norian author
Hello, |
|
J
|
Jane 1/11/2007 |
Norian,
and replace it with this one: <TD {if $row.1SpecificFieldName_value=="Yes"}bgcolor=yellow{/if}>{$row.1FieldName_value} </TD>
|
N
|
Norian author 1/12/2007 |
Norian, you can do the following:
|
![]() |
Sergey Kornilov admin 1/12/2007 |
Something like this should work: <TD {if $row.1Callback_value=="Yes" && $row.1Dealtwith_value=="No"}bgcolor=yellow{/if}>{$row.1FieldName_value} </TD> |
K
|
Keith 1/13/2007 |
Rather than use the <TD {if ....}bgcolor=yellow{/if}> you might use the CSS class statement and control it in the CSS style file. |