Skip to main content
Participant
July 13, 2023
Question

Add an FDF file inside a PDF automatically

  • July 13, 2023
  • 1 reply
  • 1477 views

Is it possible to add an FDF file inside a PDF automatically using python or javascript?
The FDF file is the file with the comments of a PDF. It is NOT for filling in a fillable PDF.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
July 13, 2023

You can import an FDF file using JavaScript, yes. See the documentation of the importAnFDF method of the Document object.

The question remains what you mean by "automatically", though. Something has to trigger this action.

Participant
July 13, 2023

using the importAnFDF method is it possible to import an FDF like the attached one?
What I find is how to import FDF to fill in autofillable PDFs.
I uploaded it as .txt because it wouldn't let you upload .fdf, but it really is a .fdf, you just have to change the extension.

try67
Community Expert
Community Expert
July 13, 2023

It didn't upload, but if you mean one that creates comments, then yes.