New Tool Radar

AI PDF

How to Check Sensitive Values in PDF Form Fields Are Removed Before Sharing

Inspect every form field in a PDF and clear sensitive values before the file is shared.

Schematic with three steps: List the form fields; Read each field value; Remove the values and sanitize.

Form field values are stored separately from the visible page, so a field can hold a salary, a bank number, or a medical note even when the page looks empty. A redaction that only covers the visible text leaves the field value in the file, readable by anyone who opens the form.

What you need

  • Adobe Acrobat
  • A filled PDF form
  • A list of the sensitive values the form should not carry

Step 1: List the form fields

Open the PDF in Acrobat and use Prepare a Form to see every field on the page, including fields that are not visible in the normal view.

Step 2: Read each field value

Click through the fields and read their values. Compare them with your list of sensitive values and note every field that holds one.

Step 3: Remove the values and sanitize

Clear the sensitive field values, flatten the form if the values are no longer needed, and run Sanitize to remove any remaining hidden data.

Worked example: synthetic form-field check on an expenses form

The table below is a synthetic example. It shows the expected result of checking form field values; no form was checked.

Field Value stored Action
Employee name J. Smith Keep – not sensitive
Bank account ****4821 Remove before sharing
Salary 48000 Remove before sharing
Department Finance Keep – not sensitive

Expected result (UNTESTED). 2 of 4 fields hold sensitive values (bank account and salary) that must be cleared before sharing, while the name and department can stay. Clear the values, flatten the form, and sanitize the file. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • Flattening a form removes the fields entirely, so keep an unflattened copy if the form must be filled again.
  • A field value can also live in the document metadata or in a comment, so sanitize after clearing the fields.
  • Visible redaction boxes do not remove form field values; the values must be cleared separately.

Sources

See all