Create repeating sections in a PDF form
3 December 2025
An applicant enters the first site, moves to the second block, and the first site changes too. The labels on the page say “Site 1” and “Site 2”, but the widgets may point to the same underlying form field. Give each value that must be independent its own technical identifier and test the saved result. Repeated widgets for a deliberately shared field are a different design.
Resolving field name collisions with a repeating field map
When an applicant completes a multi-site declaration in a grant form, identical field names treat all inputs as a single shared control. To ensure repeated-field independence, make the site name, address and staff count distinct for each independent row. A row suffix is one naming convention. A unique internal identifier need not be an ordinal or part of a hierarchy.
| Section Component | Base Name | Indexed Field Name (Row 1) | Indexed Field Name (Row 2) |
|---|---|---|---|
| Site Name | site_name | site_name_1 | site_name_2 |
| Address | site_address | site_address_1 | site_address_2 |
| Staff Count | site_staff | site_staff_1 | site_staff_2 |
Keep the user-facing labels clear as well as the internal names. An accessible label can read “Site 2, address”. Record the mapping between visible row, stable site identity if needed, technical field and exported column. A screen position is not necessarily an enduring site identifier. W3C guidance on PDF form field names, roles and values
Testing middle-row deletion and data reconciliation
Fill rows one and three with clearly different fictional sites, then add a third test site in the middle row. Check that neither existing site changes. Save and reopen, then clear the middle row (or use the actual remove control in a dynamic form). Keep the association between each remaining site and its address and staff count, whether the display leaves a gap or compacts the visible rows.
Export the values and print the result. If rows one and three still contain active sites, the recipient should find those same two sites, each once, with the correct values. The empty row must not become a phantom site or cause the parser to stop before row three. A visible, well-spaced printed form cannot by itself demonstrate that the underlying fields are independent.
For a fixed-size layout, agree what happens when the applicant has more sites than the form can display. Provide a clearly identified continuation sheet or supported attachment route, with the application reference and a site identifier on every continuation row. Check the receiving process can associate those extra sheets with the main form.
What to record and decide next
Use the field map and saved test outputs to complete the review.
- Record a field map matrix. Document every repeating field and its explicit indexed name (for example,
site_name_1throughsite_name_N) across all pre-allocated form rows. - Execute middle-row deletion tests. Populate a test form, delete an intermediate entry, and verify that saved files, calculated totals, and printed views preserve row identity.
- Formalise the continuation procedure. Decide and document the official workflow for applicants whose declarations exceed fixed row limits before publishing the form.
Part of the A field specification for an equipment-loan PDF form guide.
Provide instructions for completing a PDF form
This section answers a narrower question than the rest of this page, and it does not mint a new URL. The original contribution preserved here is an accessible synthetic form and field specification.
An instruction is part of the field, not a sentence somewhere else on the page.
| Field | What the person must do | Where that instruction is available | Checked how |
|---|---|---|---|
| One required field | The instruction, in words | Label, tooltip, or adjacent text you have associated | Not run |
| One optional field | How they know it can be left blank | Same | Not run |
Labelled synthetic case. Build or open a two-field sample. Complete it without asking a colleague what the fields mean. If you have to guess, the instruction is not yet available.
The rest of this page remains the parent decision. Use the table for the question in the heading, and leave a cell blank rather than filling it from memory.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
