Is there someway to suppress template lines when the database field is NULL?
I have a template along the following lines.
<!--start entry-->
Some per record Text
<b>_FIELD1_</b><br>
<b>_FIELD2_</b><br>
<br>
<!--end entry-->
I would like FIELD1 and FIELD2 displayed on seperate lines. If FIELD2 is NULL I would like to suppress
the line entirely.
For example if FIELD1 contains "foo" and FIELD2 contains "bar" I would get
Some per record Text
foo
bar
Some per record Text
---next record information
If FIELD1 contains "foo" and FIELD2 is NULL I would get
Some per record Text
foo
Some per record Text
--next record information
Is that possible?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=23781
Browser: Mozilla/4.7 [en] (Win98; I)
Is there someway to suppress template lines when the database field is NULL?
I have a template along the following lines.
<!--start entry-->
Some per record Text
<b>_FIELD1_</b><br>
<b>_FIELD2_</b><br>
<br>
<!--end entry-->
I would like FIELD1 and FIELD2 displayed on seperate lines. If FIELD2 is NULL I would like to suppress
the line entirely.
For example if FIELD1 contains "foo" and FIELD2 contains "bar" I would get
Some per record Text
foo
bar
Some per record Text
---next record information
If FIELD1 contains "foo" and FIELD2 is NULL I would get
Some per record Text
foo
Some per record Text
--next record information
Is that possible?