** We are self-hosted**
I am working on an HTML template for order confirms and the 9 digit postal code is running together and there is no space between it and the state. Can someone help me fix this? Here is what it looks like rendered:
And here is the code:
How do I get the space between state and zip? How do I format the postal code with the dash that is missing?
Ashley Elliott
Database Administrator
St. Louis Symphony Orchestra
314-286-4198
ashleye@slso.org
If you just add a space character after "CityState" does that work? Alternatively a " " if you need something specific there.
What does the HTML being generated look like?
The Postal Code dash isn't recorded in Tessitura typically, and just placed in by the application when it detects a 9 character postal code on a US address. Don't know if there's a convenience function for that in the API objects?
Gawain,
I tried both: adding a space and using the tag and neither worked.
Ashley
This is what I have in my code and it seems to work:@Model.Address.City@state<text> </text>@Model.Address.PostalCodeFormatted<br />
Boom! That did it!
Thank you. I don't know what I would do without these forums. I have a friend who works for another organization that is considering switching to Tessitura later this year. I cannot extoll enough the virtues of these forums!!!
Interesting. Razor is clearly doing something strange with whitespace in those blocks, I wonder if it's documented somewhere.