Sometimes, when you generate a PDF from a form, you might see a blank page at the beginning or end of the document. This is a common issue caused by how the headers' height is set in the form layout. Fortunately, it’s easy to fix—without needing to change any code.
Why Does This Happen?
-
The header section in the form needs a defined height.
-
Images inside the header do not affect the height as you might expect.
-
If the height isn’t set correctly, the PDF generator adds a blank page to compensate.
How to Fix the Blank Pages
The fix is to add blank lines in the header to ensure the header box has enough height. This prevents the PDF from inserting unwanted blank pages.
Step-by-Step Instructions
-
Go to Preferences
-
Log into your account and navigate to the Preferences menu.
-
- Select Forms from the preferences options.
-
Edit the Relevant Form
-
Find the form causing the issue.
-
Click the Edit icon next to the form.
-
-
Add Blank Lines in the Header
-
In the header section, add a few blank lines (empty character lines).
-
This adjusts the height of the header box without affecting other content.
-
-
Save Your Changes
-
Save the form and generate the PDF again.
-
Result
Adding these blank lines adjusts the header height and resolves the blank page issue, without requiring changes to the workpal system.