Skip to content
Novus Examples
pdf9 KB

AcroForm Text Field Flags (SAMPLE AcroForm)

Text fields carrying the comb, multiline, password and read-only AcroForm flags. A one-page fillable AcroForm whose canonical field names match the HTML twin, the FDF and the XFDF of the same name, so one form can be tested across four representations.

Rendered preview of AcroForm Text Field Flags (SAMPLE AcroForm)

Rendered preview of the pdf file (9 KB). Download above for the original.

Specifications

Fillable
true
Pages
1
Macros
false
Javascript
false
Fields
6
Control Kinds
comb, multiline, text
Field Names
plain_text, comb_reference, multiline_notes, masked_value, locked_value, max_length

What is a .pdf file?

PDF (Portable Document Format) is a page-oriented format that fixes layout, fonts, and vector and raster graphics so a page renders identically anywhere. A `%PDF-` header is followed by numbered objects, a cross-reference table mapping each to a byte offset, and a trailer; edits append incremental updates rather than rewrite the file. Page content is a stream of drawing operators, so a PDF holds no words or paragraphs, only positioned glyph runs. Adobe released it in 1993 and gave it to ISO as ISO 32000-1 in 2008.

How to use this file

Use an example PDF to test text extraction, rendering, metadata parsing, AcroForm handling, and OCR pipelines — checking that extraction reconstructs reading order from glyph positions, that a scanned page yields no text, and that an incremental update leaves earlier revisions in the file.

How to use this file for testing

“AcroForm Text Field Flags (SAMPLE AcroForm)” is a deterministic Novus Examples fixture for Form testing, PDF form filling, AcroForm, Form parsing. HTML and PDF form files for testing scrapers, autofill, validators, and PDF form fillers across real-life use cases.

Documented properties for this file: 1 pages · 6 fields. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

This form is fictional SAMPLE content for tooling tests (autofill, scrapers, PDF fillers). It is not an official government, bank, or clinic form. Open the HTML offline or fill the PDF in any viewer; the demo submit path never stores data.

Code examples

import pdfplumber  # pip install pdfplumber

with pdfplumber.open("acro-text-field-flags.pdf") as pdf:
    print(len(pdf.pages), "pages")
    print(pdf.pages[0].extract_text())

Generated by generation/forms_p7.py. Free for any use, no attribution required — license.