Contents

 
Home
PHPRunner 6.1 manual
Prev Page Next Page
 
 

Hide empty fields on View page

 

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.

yellowbulbNote: Change the values listed in red to match your specific needs.

if ($values["EPAHighway"]=="" || $values["EPAHighway"]==0)

$xt->assign("EPAHighway_fieldblock",false);

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)