How to test dates and calendar boundaries in a fillable PDF

3 November 2026

A desk organiser holds pens, a small calendar, keys and stationery.
Illustrative photograph: a calendar and stationery used for planning. Cropped and resized. Photo: “Gather, The minimal, modular organizer. (Unsplash).jpg” — Jeff Sheldon ugmonk / Wikimedia Commons. · CC0 1.0

A date such as 04/05/2027 can mean two different days to two readers. Before testing a PDF form, write down what it accepts, how it displays a valid date and what value reaches the saved file or receiving system. A field that accepts the correct number of digits can still accept a day that does not exist.

Separate ambiguous input from an impossible day

For this example, suppose the buyer chooses a clearly labelled year–month–day entry, displayed as YYYY-MM-DD. This is one proposed contract for the field, not a country default. A team that uses a labelled day–month–year entry can run the same calendar checks while separately recording how it stores the accepted result.

TestExpected response under the example contractExpected saved result
Enter 04/05/2027 with no other contextAsk for the labelled format, for example “Enter year, month and day as YYYY-MM-DD”. Do not choose April or May on the user’s behalf.No newly accepted date until the user resolves the ambiguity.
Enter 2027-04-31Explain that April has 30 days and invite correction.No rollover to 1 May and no newly accepted invalid value.
Enter 2028-02-29Accept the calendar-valid day, subject to any separately approved business rule.Read back 2028-02-29 when the saved field or declared payload is inspected.
Correct an invalid attemptRemove the error when a valid entry is accepted.Verify that the corrected date replaced the failed attempt.

The original equipment-loan test matrix uses different literal inputs. Its impossible-date case T09 supplies 31/04/2027; T10 supplies the valid leap date 29/02/2028. It records expected outcomes and leaves actual reader results unrun. The example table above proposes a representation and messages for a buyer to test. It does not claim the sample form already implements them. Form test matrix

Reopen what the recipient will receive

Choose the intended desktop, browser or mobile reader and record its build and locale. Enter each test input, attempt to leave the field and save, close the form and reopen the saved copy. Record separately what the reader displayed, what validation message appeared and what date was actually stored. If there is a receiving system, compare its parsed value with the accepted field value through the approved test route. Form test matrix

A useful failure entry reads “reader accepted an impossible day” or “valid leap date changed after reopen”, rather than merely “date test failed”. Give the form owner the original input and observed result. Retest both the failing case and one ordinary valid date after any fix. Matching a date pattern alone is insufficient; the calendar check also has to pass.

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).