Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


When exporting data from PDF form to .txt file, form data is dropped during export.

New Here ,
Jun 05, 2021 Jun 05, 2021

Copy link to clipboard

Copied

Hello all,

I'm using Adobe Standard 2017 and I'm trying to export the field names and corresponding data from a PDF form into a .txt file as shown in the screenshot below. The form is in the background and the txt file that is generated is in the foreground.

I'm opening the completed form then selecting More Tools > Export PDF >  More Formats (Plain Text)

The trouble is that whenever I export it, the field data does not appear. The field data appears when I export as a Word document, a spreadsheet, or an HTML file, but this particular .txt file format is what I require.

Perhaps I'm missing something simple. Can anyone point me in the right direction?

export.PNG

export 2.PNG

TOPICS
How to, PDF forms

Views

395

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Jun 05, 2021 Jun 05, 2021
You're exporting the static contents of the file, not the form data. To do that go to Tools - Forms - More and use the Export Form Data command. Save the file as a text file and then you'll be able to open it in Excel (or even Word) to see the field names and their corresponding data.

Likes

Translate

Translate
Adobe Community Professional ,
Jun 05, 2021 Jun 05, 2021

Copy link to clipboard

Copied

Try flattening the form fields before exporting to txt format. You can do this by opening the interactive JavaScript console by pressing Ctrl+J, entering the following line of code:

flattenPages();

 

and pressing Ctrl+Enter, of Enter on the numeric keypad, while on that line of code. Note that flattening is not reversible, so work with a copy of the document.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 06, 2021 Jun 06, 2021

Copy link to clipboard

Copied

Thanks for the response. Not sure if it's my version, but the Ctrl-J doesn't seem to work for me. I find a possible workaround though. Again, thanks for the help!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 05, 2021 Jun 05, 2021

Copy link to clipboard

Copied

You're exporting the static contents of the file, not the form data. To do that go to Tools - Forms - More and use the Export Form Data command. Save the file as a text file and then you'll be able to open it in Excel (or even Word) to see the field names and their corresponding data.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 06, 2021 Jun 06, 2021

Copy link to clipboard

Copied

LATEST

Ah - I now see what I was doing wrong. What was confusing me is the behavior of the document when I used that export process to a Word or Excel doc, which brought the form data.

Using your method, I see I am able to use the Export Form Data command and select .txt as an option (I thought I only could do .fdf.

This process looks like it will work. Thanks for the guidance. Very much appreciated.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines