Skip to content

[Bug]: XFA Fields not Saving Data Properly #19133

@r-muresan

Description

@r-muresan

Attach (recommended) or Link to PDF file

https://www.courts.ca.gov/documents/de295.pdf
de295_locked.pdf

Web browser and its version

Most update to date Firefox

Operating system and its version

MacOS

PDF.js version

4.8.69, Prebuilt (Old Browsers)

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Open PDF in Firefox Pdf.js editor

  2. Edit the field that has (date) in front of it and save document

Screenshot 2024-11-29 at 11 34 26 AM
  1. Open the saved file in Adobe Acrobat, notice the field where you inputted data is empty
Screenshot 2024-11-29 at 11 35 08 AM

What is the expected behavior?

I expect the field to save the data I inputted from the pdf.js editor.

Screenshot 2024-11-29 at 11 35 33 AM

What went wrong?

XFA Field did not have saved data

Link to a viewer

No response

Additional context

Unlocking the PDF seems to save the data properly, but the XFA field is overwritten with a regular PDF field. (The custom date selector is gone)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions