AnsweredAssumed Answered

If a field in Salesforce is left blank can you then remove blank space on a word document?

Question asked by justinp on Jul 6, 2018

Is there a way to remove the blank space in a word document if a field is left blank within Salesforce?  ie. Let's say you have a title field in Salesforce, which usually is populated in a word document under the first and last name of a contact.  Then after that is their phone number and so on... 

 

John Smith

President

123-123-1212

 

If the "title" field is blank, right now it looks like this.

 

John Smith

President

123-123-1212

 

Is there a way to make it look like this instead?

 

John Smith

123-123-1212

Outcomes