Omit Fields in Print View if Empty Value
Posted: 2015-05-02 11:27
Hi, I have several reports wherein parts are optional.
Anyone know how I can Omit them during printing if there value is empty. For example,
if (<%%VALUE(notes)%%>) = '') {
echo $this;
} else { echo $that; }
Of course, <%%VALUE(notes)%%> is part of the templating system and this is simply replaced by the value string.
So I really need to know how check whether this templated string is empty or not...
Anyone know how I can Omit them during printing if there value is empty. For example,
if (<%%VALUE(notes)%%>) = '') {
echo $this;
} else { echo $that; }
Of course, <%%VALUE(notes)%%> is part of the templating system and this is simply replaced by the value string.
So I really need to know how check whether this templated string is empty or not...