Reply To: Conditional Result Content

Home Forums Store Locator Plus Conditional Result Content Reply To: Conditional Result Content

#29308

Michael
Participant

If I understand the documentation correctly,

[slp_location ifset country] would display the country if there was a value.

What I’m hoping to do is essentially,

{ if the country field has a value }

<a href="link.php?country=[slp_location country]" target="_top">link text</a>

{ end if }

Basically, I want the html that wraps the country field to only appear if the country field has a value. Does that make sense?

 

  • This reply was modified 2 years, 3 months ago by  Michael.
  • This reply was modified 2 years, 3 months ago by  Michael.