I've had a look on here and haven't found anything that helps (consequence of there being too many post and no tagging mechanism)
I am trying to use a custom query to show addresses but not show empty lines, what is the correct syntax (SHOW SECTION_START generates errors).
Conditional Show in Custom Query
-
- Posts: 1457
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Conditional Show in Custom Query
Syntax is like below;
Code: Select all
# if(data["myattribute"] != null) { #
<span style="color:red">{myattribute}</span>
# } #