Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Exporting FORM data and converting it into an ASCII Text Delimited file.

New Here ,
Jun 04, 2018 Jun 04, 2018

Hi. I have a need to export FORM field name and value data and convert it into an ASCII Text Delimited file.  I know that Adobe has the distribute and response file functions (using email and their website), but I simply want to do this on a secure computer using my Adobe Acrobat Pro DC application.  Kind of disappointed that Adobe doesn't offer that functionality on the desktop client (as part of the Export function - unless I'm missing something - without also exporting everything else on the form...). I know this can be accomplished with JavaScript.  Anyone have an example coded routine to do this (I have some programming experience, although it's been a while) or a better workaround?  I did see on some website that PDFill PDF Form Filler might do the trick, but I don't know if I want to trust it.

TOPICS
PDF forms
5.7K
Translate
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
1 ACCEPTED SOLUTION
Community Expert ,
Jun 04, 2018 Jun 04, 2018

Of course it's possible with Acrobat. Go to Tools and search for "export". It's a function called "Export form data" or just "Export data".

In the window that opens change the file type to a text file and you'll get a plain-text tab-delimited file with two rows: Field names in the first and their values in the second.

View solution in original post

Translate
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
Community Expert ,
Jun 04, 2018 Jun 04, 2018

Of course it's possible with Acrobat. Go to Tools and search for "export". It's a function called "Export form data" or just "Export data".

In the window that opens change the file type to a text file and you'll get a plain-text tab-delimited file with two rows: Field names in the first and their values in the second.

Translate
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 05, 2018 Jun 05, 2018

I appreciate your attempt to help, but I can't duplicate your advice.  I'm using Acrobat Pro DC (latest version) and one would think that the Export capability would work as you describe, but it doesn't for me (at least for this document - which is an application).  I select the Export tool, then have to choose amongst various formats.  If I choose "More Formats", it then gives choices of Rich Text Format, Encapsulated Postscript, Postscript, Text (Accessible), Text (Plain), and XML 1.0.  I've tried all but the postscript options, and they all provide me ALL of the text on my PDF file (not the two lines of field names and values).  It does NOT provide me the option to just export the form data, as best I can tell.  When Text (Plain) is selected, it actually has a settings options (looks like a gear symbol) with choices of "Use mapping table default" (which is the default setting), UTF-8, UTF- 16, UCS-4, and ISO-Latin-1.  I've tried the default (which sounds like it might be correct) and UTF-8.

Before I posted this, I called Adobe directly, and the person helping me wasn't aware of anything besides the distribute method.  That doesn't necessarily mean anything because I'm finding "technical support" for various companies is a mixed bag, and the first person you contact often doesn't know much and can give out wrong information.  I've found that with my new laptop OEM (HP) and two different external monitor companies (LG and Acer).

So, I'm still looking for answers, please!  Thanks.

Translate
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
Community Expert ,
Jun 05, 2018 Jun 05, 2018

You're not using the correct tool. Try this:

Go to Tools > Prepare Form. In the right-hand panel click on More > Export Data.

Then change the file form at "Text file" and save it.

Translate
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 05, 2018 Jun 05, 2018

Thanks!!!!  I couldn't imagine Adobe not providing this capability, but they sure did a great job of hiding it....  I spent LOTS of hours trying to figure this out and it seemed like the Adobe online guidance just wanted to take me down the distribute path...  Crazy.  They should also provide this same data only export functionality in the Export tool (which is very obvious to find)….

Can you explain what the purpose of the *.fdf file format and how it might be used?

Translate
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
Community Expert ,
Jun 05, 2018 Jun 05, 2018

An FDF file is the internal format created by Adobe for transferring PDF form and annotation data. It's not just plain-text values, but can include scripts, images, comments display properties, etc.

Translate
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, 2018 Jun 06, 2018

Okay.  Why would one use this?  Can you give me an example?  How is it used?

Translate
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
Community Expert ,
Jun 06, 2018 Jun 06, 2018

Just like a text file, only with more features. For example, if a user added comments to the file that won't appear in the text file, but it will appear in the FDF and therefore will become a part of the file when you import the FDF into it.

Another example is that an FDF file can be set to run a script when imported, which is useful in some scenarios.

Translate
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, 2018 Jun 06, 2018

Okay, understand the capture of the extra data (better understand comments, not sure what you might want a script to do - an example, if you don't mind, might help).  However, once you make a FDF file, what program will then accept that textual information for conversion?

Translate
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
Community Expert ,
Jun 06, 2018 Jun 06, 2018

Adobe Acrobat or Reader. Maybe some other PDF viewers, too, if they were built to handle such files.

Translate
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, 2018 Jun 06, 2018

I don't understand what an FDF is doing for someone if they have the original PDF form, given that they're using Adobe.  Can you give me a scenario?

Translate
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
Community Expert ,
Jun 06, 2018 Jun 06, 2018

Sure. Imagine a catalog with 100 pages of products and one page at the end where the user can enter which ones they want to order, including prices, quantities, grand total, their address, etc. The file itself can easily be 100MB or more, with images, fonts and so forth.

If each user that wants to make a purchase will have to send back a 100MB file you'll soon be dealing with a lot of very heavy emails, which either won't work at all or cause your inbox to be completely full.

Instead, they can submit just the form data as an FDF file, which is typically less than 100KB. The creator of the form can then take that data and either import it on their end into a single page order and print it out, or import it into a spreadsheet and process it further, etc.

Translate
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 08, 2018 Jun 08, 2018

Okay, thanks!  In that scenario, I'm guessing the 100MB file is hosted on the web??  Otherwise, they'll have to receive it via email...  Anyway, much appreciate the assistance!

Translate
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
Community Expert ,
Jun 08, 2018 Jun 08, 2018

Yeah, it can be hosted on a web-server, or shared via something like Google Drive.

Translate
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
Explorer ,
Nov 11, 2022 Nov 11, 2022
LATEST

Can I set a button with mouse click event for exporting the tab-delimited text file with custom name and direcory just like saveAsPdf function? Thanks!

Translate
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