Datablaze - Display information conditionally

I'd like to display information depending on if field is populated in Datablaze.

Is that possible?

I'd like 'Contact' section to be displayed ONLY if the field is populated in Datablaze.

Pick up location: {=Address}
Pickup hours: {=PickupEnglish}
Contact: {=Contact}

hey @latetotheparty --

Yes this would be possible. Assuming you're only selecting 1 item from Data Blaze at a time (e.g. it's NOT set to multiple=yes), you would do that like this:

{if: Contact=""}{else}Contact: {=Contact}{endif}

You can read this in plain english as "If the field called Contact is empty, don't display anything, otherwise display "Contact: [value of the contact field]"."

3 Likes