Your browser does not support JavaScript! This site works best with javascript ( and by best only ).How do I hide lines in a text box? | Label LIVE
Back to Design FAQs

How do I hide blank lines in a text box?

Sometimes when designing a label with multiple lines, the lines themselves might be optional. In the case where you're using variables and a form, this can lead to annoying blank lines showing in your final design.

Address Label Example

For example, here's a basic address label with name, two address lines, a city, state and zipcode. What happens when the second address line is blank?

Grrr.... Easy fix! Click the eraser button on the text object.

Empty lines are now removed from the text object.

Best of all, the second address line will display properly if added to the form.

One Small Gotcha

This won't work if NAME, ADDRESS, etc are all in separate text objects. In order for Label LIVE to remove blank lines, the lines need to appear one after another, like this:

{NAME}
{ADDRESS}
{ADDRESS2}
{CITY}, {STATE} {ZIP}

Other Considerations

Here are a few other ideas to make your label designs awesome.

  • Use one text box when appropriate

  • Change the Anchor to be centered

  • Use Wrap: None (Auto Fit) to automatically scale the text to fit within the label

  • Change the Data tab to Form for improved data entry

Download Design

Not the answer you were looking for?

Reach out to us today and we'll see what we can do ASAP.

A blog icon
Guides

How to make Label LIVE work for you, in detail.

Computer monitor icon
Find Answers

If you have questions... we have answers. Check out our in-depth FAQs.

QR Code Icon
Barcodes

See the barcodes we support and learn how to use them in your labels.