PDF Security & Access Issues

Remove the Purple Form Message from a Signed PDF in Adobe Reader

Aamir Naveed AkramAamir Naveed Akram Nov 19, 2026 869 views

Question details

Remove the purple form-completion message from a PDF filled and flattened with pdf-lib, then digitally signed.

Remove the Purple Form Message from a Signed PDF in Adobe Reader
Product
Adobe Reader and pdf-lib
Device & OS
not provided
Scenario
A PDF form is filled programmatically, flattened, and digitally signed before being opened in Adobe Reader.
Observed behavior
Adobe Reader displays a purple message asking for the form to be completed and offers a Highlight Fields button.
Before you start

Locate the filled PDF before it was signed and confirm that the visible form values are correct. Changes to the signed PDF may invalidate its signature, so make structural changes before signing it again.

Solution 1Recommended

Flatten the Form Fields with pdf-lib Before Signing

Use this approach when you control the PDF generation and signing process.

The purple message can indicate that interactive fields or form metadata remain in the PDF. Flattening should occur after filling the fields and before applying the digital signature.

pdf-lib does not support XFA forms. If the source uses XFA, use a compatible PDF tool or obtain an AcroForm version instead.

1
Inspect the unsigned form

In your pdf-lib script, load the unsigned PDF with PDFDocument.load, call pdfDoc.getForm(), and inspect form.getFields() to identify remaining fields. Check that each required field contains the intended value.

2
Flatten and save

After filling the fields, call form.flatten(), then save the result with await pdfDoc.save(). Keep the resulting bytes as the input to your signing process.

3
Check the flattened PDF

Open the saved, unsigned PDF in Adobe Reader. Check the displayed values and look for the purple message or Highlight Fields button. You can also reload the file with pdf-lib and inspect form.getFields().

4
Sign and validate

Run your digital-signing process on the verified flattened PDF. Open the signed result in Adobe Reader and check its signature status and form banner.

Flatten the Form Fields with pdf-lib Before Signing
If the message remains: An empty field list does not rule out leftover form metadata or annotations. Inspect the PDF with a suitable PDF inspection tool; do not remove form structures blindly, because this can damage the document.
Work with PDFs in WPS Office

Create a Noninteractive PDF Copy with WPS Office

Open the filled, unsigned PDF in WPS Office and print it to a PDF printer if one is available. Check the new copy in Adobe Reader before signing it with your certificate-signing tool.

  1. 1. Open the unsigned PDF: In WPS Office, open the filled PDF that has not yet been digitally signed.
  2. 2. Print to PDF: Choose File > Print, select an available PDF printer, and save the output as a new PDF.
  3. 3. Inspect the output: Open the new PDF in Adobe Reader and check every page for missing values and the purple form message.
  4. 4. Apply a new signature: Use your certificate-signing tool to digitally sign the verified PDF, then check the signature status in Adobe Reader.
Review filled PDF values before creating a noninteractive copyOpen and print PDFs from a familiar workspaceWork with Microsoft Office formats including DOCX, XLSX, and PPTXUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does Adobe Reader still show Highlight Fields after flattening?

Interactive fields, annotations, or form metadata may remain. Inspect the unsigned output with form.getFields() in pdf-lib and check the PDF for leftover form structures if the list is empty.

Can I remove the message without affecting the existing digital signature?

Editing the signed PDF can invalidate its signature. Instead, flatten or otherwise correct the unsigned source, then sign the resulting PDF again.

Does pdf-lib support flattening XFA forms?

pdf-lib does not support XFA forms. Use a compatible PDF tool or obtain an AcroForm version of the source before filling and flattening it.

Will printing to PDF preserve all form values?

Not always. Some fields may not print, and printing can remove links, tags, and interactive features. Open the printed PDF and inspect every page before signing it.