Interactive fields live above the page content
Traditional PDF forms, commonly called AcroForms, store interactive field objects separately from the page's ordinary text and graphics. A text field may have a name, current value, default value, formatting, validation actions and one or more widget annotations that determine where it appears.
Appearance streams are what viewers paint
A field value and its visual appearance are related but not identical. Well-behaved PDF software keeps an appearance stream in sync with the value. Some files rely on the viewer to regenerate appearances, which is why a form can look correct in one viewer and blank or differently styled in another.
What flattening means
Flattening converts interactive or overlay content into ordinary page graphics so it no longer behaves as an editable field or annotation. A properly flattened field should look the same while losing its interactive controls.
| Before flattening | After flattening |
|---|---|
| User can tab into a field | Field is part of the static page |
| Field name/value may remain in form structures | Interactive form structure can be removed from the flattened result |
| Appearance may depend on viewer behaviour | Appearance is baked into page rendering |
| Easy to edit later | Harder to modify without editing the page itself |
When flattening is useful
Flattening can improve consistency when the recipient only needs to read or print the finished form, and it can prevent accidental editing of fields. It is also common when an application needs to combine annotations with the underlying page into one final visual result.
When flattening is the wrong choice
If the recipient needs to continue filling the form, access field names, run calculations, or use assistive technology that depends on form semantics, flattening can remove useful functionality. A flattened form can also become less accessible if the new page content does not preserve the original logical structure.
Signatures make the decision more complicated
A drawn or typed signature placed as page artwork is different from a cryptographic PDF signature. Flattening page content may be acceptable for the former, while modifying a cryptographically signed document can invalidate or alter the signature's verification status. Always understand which kind of signature you are handling before editing.
Practical checks after flattening
- Open the result in a second viewer.
- Try clicking and tabbing through former fields to confirm they are no longer interactive when that is the goal.
- Verify all field values are visible.
- Search for sensitive values if the flattening was part of a privacy workflow.
- Keep the original interactive version if future editing may be required.