Empty Value Handling

Remove unwanted blank lines when variables are empty.


The Problem

When a variable has no value, it leaves an empty line in your document:

Template

Paragraph one
{{OptionalField}}
Paragraph two

Result (with empty variable)

Paragraph one

Paragraph two

That blank line looks unprofessional, especially with multiple optional fields like addresses.


The Solution

TypeFlow's Empty Value Handling feature automatically removes the spacing caused by empty variables.

How to Enable

  1. In TypeFlow, find the variable mapping
  2. Enable Empty Value Handling for that variable

Result

Paragraph one
Paragraph two

No more blank lines!


Use Cases

ScenarioEmpty Fields
Invoice addressesAddress Line 2, Address Line 3
Contact infoFax number, Secondary email
ContractsOptional clauses, Additional terms
CertificatesMiddle name, Suffix

Invoice Address Example

Template:

{{Name}}
{{Address Line 1}}
{{Address Line 2}}
{{Address Line 3}}
{{City}}, {{State}} {{Zip}}

Without Empty Value Handling:

John Smith
123 Main Street

San Francisco, CA 94102

With Empty Value Handling:

John Smith
123 Main Street
San Francisco, CA 94102

FAQ

What causes blank lines in my document?

When a variable has no value (empty), it leaves behind the line it occupied, creating unwanted spacing between paragraphs.

Does this work with all field types?

Yes. Empty Value Handling works with any variable that might be empty - text fields, addresses, optional fields, etc.

Is this different from conditional sections?

Yes. Conditional sections hide entire blocks of content based on conditions. Empty Value Handling simply removes the blank line left by a single empty variable.



Need More Help?

Was this page helpful?