This topic is locked

Hide entire row based on custom field

6/22/2010 11:55:29 AM
PHPRunner General questions
T
tekhead2004 author

Hi all. I have a custom field on my list page. If my custom field returns a vaule of 0, I want it to hide the entire row on the list page. How could I make this happen?

Sergey Kornilov admin 6/22/2010

For this purpose you can use 'List page: Before record processed' event.

Here is the sample code:

if ($data["Make"]=="Acura")

return false; // hide row
return true; // show row