LeadsMail:Location.ZipCode
Version: - stringSummary
Returns ZIP code of the lead location.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("LeadsMail:Location.ZipCode")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("LeadsMail:Location.ZipCode"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("LeadsMail:Location.ZipCode");
}
Outputting the template tag
<!--@LeadsMail:Location.ZipCode-->
Check if string has a value
<!--@If Defined(@LeadsMail:Location.ZipCode)-->
Let's output this tag here: <strong><!--@LeadsMail:Location.ZipCode--></strong>
<!--@EndIf(@LeadsMail:Location.ZipCode)-->