|
Let's say you have a list of fields on the View page and you
want to hide those that are empty. For this purpose use the
following code in the View page:
Before display event for each field you need to hide. This
example uses field named EPAHighway.
Note: Change
the values listed in red to
match your specific needs.
|
if ($values["EPAHighway"]=="" || $values["EPAHighway"]==0)
$xt->assign("EPAHighway_fieldblock",false);
|
|