Skip to content
beprintlearn – Home

Removing empty lines automatically

An empty line disappears

If a field stays empty, there's no gap on the card: a rule after the field deletes the whole line.

1:06 min · Published on 8 November 2026

What it's about

  • The rule sits in square brackets right after the field: field name, colon, $LF.
  • In the layouter: Selection, the box, then Inhalt bearbeiten (still German).
  • Trap: only a real line break separates lines; with <LF> in between, the rule deletes too much.
  • Check every template once with empty fields.
Transcript

Click a timestamp to jump to that point in the video.

  1. When a field stays empty, there shouldn't be a gap on the card. Here the buyer picks “no title” – the line disappears, and the department moves up.
  2. A rule right after the field takes care of that. In square brackets: the field name, a colon, and then dollar L F. If the field is empty, the rule deletes the whole line.
  3. In the back end, open the print template in the layouter and pick the box under Selection. Here it's the box Role.
  4. Click Inhalt bearbeiten to see its text. Each line has its field, and right after it, its rule.
  5. There's one trap. Only a real line break counts as a new line. If the command L F in angle brackets sits in between instead, both entries count as one line – and the rule deletes the name along with it.
  6. With complete data, you'd never notice. That's why you check every template once with empty fields.
  7. Here's how it looks live.
  8. One rule per line – and no more gaps on the card.

Also in: Rules & automationTesting & troubleshootingOnboarding course