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
- In TypeFlow, find the variable mapping
- Enable Empty Value Handling for that variable
Result
Paragraph one
Paragraph two
No more blank lines!
Use Cases
| Scenario | Empty Fields |
|---|---|
| Invoice addresses | Address Line 2, Address Line 3 |
| Contact info | Fax number, Secondary email |
| Contracts | Optional clauses, Additional terms |
| Certificates | Middle 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.
Related Articles
- Conditional Sections - Hide entire sections based on conditions
Need More Help?
- Email: support@typeflow.us
- Chat: Click the chat icon in the app