J
|
Jane 3/2/2009 |
Raymond, global $record; if (!$data["FieldName"]) $record["FieldName_fieldcolumn"] = false; {BEGIN FieldName_fieldcolumn} ... {$FieldName_value} {END FieldName_fieldcolumn} |
D
|
Denton 3/4/2009 |
Hi Jane. |
M
|
mmponline 3/4/2009 |
Sure Jane will explain, but how magic would it be to have a tick option on a field's propperties for "Hide when field is empty". Doing it manually as she explains, takes some time, and when a page reset is needed (happens lees often but still does) the code needs to be added to each field manually again. |
J
|
Jane 3/4/2009 |
Denton, |
R
|
rgfischerjr author 3/4/2009 |
Raymond, you can hide empty field with in theList page: After record processed event:
|
J
|
Jane 3/5/2009 |
Hi, {BEGIN streetAddress_fieldcolumn}<TD class=borderbody vAlign=top align=middle colSpan=5 {$streetAddress_style}> {$streetAddress_value} {BEGIN suite_fieldcolumn}{$suite_value} {END suite_fieldcolumn} {$city_value}, {$state_value} {$zipCode_value} </TD>{END streetAddress_fieldcolumn} global $record; if (!$data["suite"]) $record["suite_fieldcolumn"] = false; |