PDF Form Field Manager
Operator: Abdulla Al Fahad. How tools are built and checked
The form arrives with twelve text fields called Text1 to Text12, no tooltips, the tab key jumping from the top of the page to the bottom and back, and a signature box nobody can sign because it is marked read-only. Fixing that in a PDF editor means opening each field's properties one at a time.
This page lists every AcroForm field in one table, with its name, type, page, position, value, flags and tooltip, and edits them in bulk: rename by find and replace or regular expression, fill tooltips from a template, switch required and read-only on or off for a filtered set, reorder the tab sequence page by page and delete fields.
Edits are collected first and written only when you press Save PDF, so you can review the pending count and undo everything.
Key features
- A field table with full and partial name, type, page, position and size, widget count, value, flag names and tooltip, filterable by name, type and page
- Find and replace on the last part of each name, as plain text or a regular expression, with a count and examples before it is applied
- Tooltip templates where {label} becomes the field name read as words (txt_first_name gives first name) and {name} the name as it stands, filling empty tooltips or replacing existing ones
- Required and read-only flags set per field or for every field matching the filter
- Tab order per page: keep, row, column or structure order, or a custom list moved up and down or sorted top to bottom and left to right
- Delete fields, with the field list exported as CSV and the edited PDF saved under a new name
What each field property means inside the PDF
An AcroForm field is a dictionary in the form's field tree. Its full name is its parent names and its own partial name joined by full stops, which is why a partial name cannot contain one. Flags live in the /Ff entry (bit 1 read-only, bit 2 required, bit 3 no-export) and the tooltip is /TU; both can be inherited, so the table shows the effective value and a change is written on the field itself. Names and tooltips that contain brackets, backslashes or slashes are saved as plain text, so they cannot damage the file or start an action. Names must be unique in the document after your renames, 250 characters or fewer, and free of control characters; radio buttons and check boxes that deliberately share a name are left alone unless you rename them.
How it works
Deleting a field removes its widgets from the page's annotation list, removes the field from its parent's kids or from the form's field list, removes it from the calculation order, and deletes the objects themselves, so the value is not left behind in an orphaned object. Custom tab order rewrites the page's annotation list so widgets keep their slots but refill them in your order, then removes the page's /Tabs entry so viewers follow the list.
Common use cases
- A clinic's intake form has fields named after the layout program's counters; a regex turns them into first_name, last_name and so on after a single filter by page.
- An accessibility review finds 31 fields without tooltips. After the names are cleaned up, the template 'Enter {label}' fills them in one click and the CSV goes on the ticket.
- A form with 60 fields on three pages has Tab running down page 2 in the order the fields were created. Row order puts it back to reading order.
- A form reused from last year keeps a hidden field holding a previous applicant's reference number; deleting it removes the object, not only its widget.
How to use this tool
- Open the PDF; a file without form fields is rejected with a pointer to the form builder.
- Filter the table to the fields you want, then use Bulk edit for rename, tooltips and flags, or edit single rows in place.
- Open Tab order, pick a page and a mode, and move fields up or down for a custom order.
- Check the pending count, then press Save PDF, or export the field list as CSV.
- Open the saved PDF in a viewer and press Tab through the first page to confirm the order.
Example
intake.pdf, six text fields on page 1: txt_first_name, txt_last_name, txt_email, txt_phone, txt_date_of_birth, txt_postcode
Rename: find ^txt_ (regular expression), replace with nothing
Tooltips: template "Enter {label}"
Flags: mark every field required
Tab order, page 1: Row
Then Save PDFSaved message and the re-read field list
6 renamed, 6 tooltips set, 6 flag changes, 0 deleted. Reopening the saved file lists first_name (tooltip 'Enter first name'), last_name, email, phone, date_of_birth ('Enter date of birth') and postcode, each Required, and page 1 reports /Tabs R.Tips for best results
- A tooltip is what a screen reader says when focus lands on the field, so it should be the human label, 'Enter date of birth', not a code name. Rename generic names such as Text12 to meaningful ones first, then fill tooltips from {label}; a tooltip built from Text12 only tells the listener the field number.
- Filter first, then bulk edit. Rename, tooltip and flag buttons apply to exactly the rows the filter shows, and the button counts them.
- Use a capture group such as ^(\w+)_old$ with $1_new to keep part of a name while changing the rest.
- A custom order is limited to the page being shown. Switch pages in the Page selector and each page keeps its own list.
Common pitfalls
A signed PDF loses its signature when saved with changes; a warning appears when signature fields are signed.
XFA forms carry a second layer that some viewers show instead of the fields edited here, so a warning appears when one is found.
Only names and values of fields are changed. A calculation script that refers to a field by its old name is not rewritten, and will need editing.
Common errors and how to fix them
- "Two fields would both be named ..."
- A rename produced a full name that another field already has. Change one of them; the table marks the clashing rows.
- "A field name cannot contain a full stop."
- A full stop separates the levels of a field's full name. Use an underscore in the partial name instead.
Best practices
- Save under the new name and keep the original, since a deleted field's object is gone from the saved copy.
Frequently asked questions
Does it fill in or flatten the form?
No. It edits field properties only. Filling is done by the fill form page, and flattening by the flatten page.
Why does a radio group show one row with several widgets?
A radio group is a single field with one widget per option, so the table shows one row with the widget count. Renaming it renames the whole group.
Can I see which edits are pending before I save?
Yes: the summary counts pending changes, edited names are outlined if they are invalid or clash, and Undo all edits clears every pending change and tab setting at once.