Test required fields in a fillable PDF
21 October 2026
A required-field marker tells the person what to enter. It does not tell you whether the reader permits an incomplete draft, whether it validates at submission or whether the receiving system accepts the value. Test those outcomes separately. W3C technique on identifying required PDF fields
Agree the rule before testing the field
Imagine a form with a mandatory request reference. The business owner permits saving an unfinished draft but requires a non-empty valid reference before accepting the request. The approved test reference is REQ-204. An entry consisting only of spaces should count as missing under this example's rule.
| Input | Save and reopen | Completion or submission check |
|---|---|---|
| Empty | Record whether the reader permits a draft save. | Expect a clear missing-reference outcome. |
| Spaces only | Check what was actually stored after reopening. | Expect the receiver's agreed whitespace rule to be applied. |
| REQ-204 | Verify unchanged value and field identity. | Expect the reference check to pass even if another required field blocks submission. |
Keep the rest of the form valid so a different error cannot hide the result. Use a synthetic record and the approved test destination. A local Save button is not a substitute for a receiver acknowledgement.
Record the stage that failed
Test the normal desktop, browser or mobile paths supported by the workflow. For each, capture the exact form revision, what the user saw, the retained value and the receiver's outcome. The viewer may correctly allow the blank draft. The intake system fails the stated rule if it accepts that blank as a completed reference.
Retest after a correction using all three inputs. Keep expected results separate from observations in the form test matrix. Example fillable-form test matrix
Part of the A test matrix for saving and reopening a fillable PDF guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
