I am trying to format an address using bindings from a database. I have two address fields but most of the 2nd address fields are empty. I want to only show the 2nd address field if it is not empty. I know how to do this in PHP and I know this is probably really easy in Wappler, but I haven’t been able to find the answer. My line of code is:
{{school}} — {{phone}}
{{address1}}
{{address2}}
{{city}}, {{state}}, {{zip}}
Any ideas?
Community Page
Last updated:
Last updated: