Skip to main content
Participant
April 4, 2025
Question

PDF forms

  • April 4, 2025
  • 2 replies
  • 402 views

What is the best way to extract select data from a filled in pdf form?

The export feature extracts everything but I need only 6 of 50 named fields.

thanks

 

2 replies

PDF Automation Station
Community Expert
Community Expert
April 5, 2025

var Flds=["Text1","Text2","Text3","Text4","Text5","Text6"];
this.exportAsText(false,Flds);

creative explorer
Community Expert
Community Expert
April 4, 2025

@Judith23964899jt0f if you only 6 of the 50 fields, I would just manually select the text tool and copy the fields

 

m
Participant
April 4, 2025
the data is on multiple pages of the form and there are some 60 - 70 forms
submitted at a time.
there has to be a better way!
thanks
Thom Parker
Community Expert
Community Expert
April 7, 2025

You'll find several data extraction tools here:

https://www.pdfscripting.com/public/Automation-Tool-Descriptions.cfm

 

And info on PDF form data handling here:

https://www.pdfscripting.com/public/Form-Data-Handling.cfm

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often