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

Export form fields data into excel file

New Here ,
Apr 03, 2019 Apr 03, 2019

Hello,

I have created a pdf form.

This form will be used by several people and we need to collect data from those fields into an excel file.

Can this be done automatically? I mean the person after filling the form just to push a button and the data to be sent to the server and added to this excel file?

It should not overwrite existing data but add to it as a new row.

I have tried with merge data files into spread sheet but it does not work the way I like it.

Thank you.

TOPICS
PDF forms
348
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
Mentor ,
Apr 03, 2019 Apr 03, 2019

Yes, this can be done. For example, you would write a PHP script and put it on a web server, and the data is captured by this script when a user submits the form as a FDF file. You would then generate a CSV file and append the new data to the existing data as a new row.

The CSV file is opened in Excel.

In practice it requires more than this, of course: error validation, and the user should be informed that the info has been transferred correctly. And the user should not be able to send the same form twice by mistake.

And you will need a web server set up as well, if you haven't already got one.

I am sure this can be done with other server tech as well, such as sharepoint. Lots of work, though.

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 ,
Apr 03, 2019 Apr 03, 2019
LATEST

Have you tried using the Form Distribution service in Acrobat? 

Its in the button panel in "Prepare Form" mode.

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

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