View Single Post
  #1   Report Post  
UCHelp UCHelp is offline
Junior Member
 
Posts: 5
Default Carriage Return Help

Hello. I am using a format that imports data through XML Word Documents.

The format is {entity.attribute}

for example
{contact.fullname}
{contact.company}
{contact.address1}
{contact.address2}

My problem is, if the contact doesn't have an address 2 line, it will merge an unwanted carriage return.

How can I make sure this doesn't happen by checking if the line is empty and thus not putting a carriage return? Many contacts dont have address line 2s, but some do.