Skip to main content

Remove blank address lines from a Doc Designer template

Hide empty address fields so your printed addresses have no gaps.

Written by Heather Worthington

The Remove Blank Address Lines component tidies up addresses on your documents. It removes any address line that has no data, so you don't get blank gaps in the address. Classic and Formal templates can't be edited, so you'll need to create an editable copy first.


Add the component

  1. From the main menu, click Settings, then click Doc Designer.

  2. Click the transaction type you want to edit, for example Purchase Orders.

  3. In the Document tab, use the Template Name drop-down menu to select the template you want to edit.

  4. Click the Toolbox tab, then drag the Remove Blank Address Lines component onto the layout.

  5. Position the component over your address labels and address data, then resize it so it covers every address field.

  6. Click Save Now, then click Publish.


Check your address layout

The component only works if your address fields are set up in a particular way:

  • The address group has two columns only: the first column holds the address labels and the second holds the address data.

  • The top positions of both columns are aligned.

  • All address fields sit inside the component's boundary. Fields outside it aren't treated as part of the address.

  • The address is in the body of the template. The component doesn't work in the Header or Footer.

🤓Tip: Use the Preview tab to check the address looks right before you publish.

Did this answer your question?