Hi! We've successfully added in Street2 to the template data but we are struggling to suppress the line break if street2 is null (which is OFTEN). Any C#/HTML whizzes out there want to shoot us their code? We would greatly appreciate it.
Try and see if this works for you
@if(!String.IsNullOrEmpty(@Model.Address.Street2)) {@Model.Address.Street2<br />}
Thomas,
You’re my new favorite person! Thank you!! We were so close... this is greatly appreciated.