These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Export PDF Form Field Data without Button

ablankenbiller
Registered: Nov 24 2009
Posts: 2
Answered

Is there a way to export PDF form field data using a script?

I have a need to export previously entered form data without the use of a button.

Basically, I need a script that will go into the PDF form and grab the data that has been entered into the form.

If I could somehow automate the process of exporting the form data (Forms --> Manage form Data --> Export Data) into an XML file, I could then parse the XML file for the information I need.

Is it possible to do this?

My Product Information:
Acrobat Standard 9.2, Windows
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Yes, you can use can do this from a custom toolbar button or in a batch process with the JavaScript [url=http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp.htm?href=JS_API_AcroJS.88.1.php#1515776&accessible=true]"doc.exportAsText()" function[/url].

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.