Copy link to clipboard
Copied
I am creating an MS-Word form with tabbed underlines for field values. Some fields have multiline input. When copy out the data to CSV, I find some of the field data with the field names. I'm trying to make this as "field names on the left and field data on the right" as possible, but I'm still finding the same result though it varies on which lines it happens to. I've called Adobe Tech support and simply found that it is experimentation.
Please, don't let that be the answer. There must be a way to do this albeit this IS acknowledged to be a rudimentary tool for getting data from a form into a csv. I'm willing to work with someone on this if they have the time. I need to get this to work...the only alternative is to have them input data into Excel 😞
Copy link to clipboard
Copied
I've received a response from Adobe Technical Support. The steps are as follows:
1. Open PDF in Adobe Acrobat DC (Reader will not work for this purpose)
2. Select Tool "Prepare Form"
3. More Tools..."Export Data"
4. Select "Text Files"
5. Result file has 1st row with field names (in ALPHABETICAL order)
6. Data in the corresponding columns of the 2nd row
3. More Tools..."Merge Data into Spreadsheet"
4. Click "Add Files" add the file you're working on
5. Select "Export"
6. Result defaults to report.csv as a csv file.
7. Result file has 1st row with Field Names (in TAB order)
8. Data in the corresponding columns of the 2nd row
What a learning experience. Thanks for all of your help in this community forurm as well!!
Peter
Copy link to clipboard
Copied
Hi,
Can you share a screenshot to better understand your issue?
Copy link to clipboard
Copied
Yeah, it's not very clear what you mean... Do you want to change the structure of the output file from having the fields names and values in two rows to having them in two columns, basically?
Copy link to clipboard
Copied
Do you mean that you are creating a PDF form from MS Word? Cause we can't help you with a Word Form.
What do you mean by "copy out the data to CSV"? What tool/button/menu are you using for this?
The natural format for putting data into any spreadsheet/DB like format is for the field names to be the column names. And for all the data in a single set to appear in a single row. If you want something else you'll have to write a script to do it.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
[Sorry for not getting back right away! - I have "Email me when someone replies" but didn't see anything]
Steps to Perform this:
1. Create MS-Word Document with fieldname text followed by 1 or more underline-tabs for fillable fields.
2. Create Acrobat PDF where underlined-tabs become fillable fields and save
3. Fill in the Form in step 2
4. Select all in Form
5. On a field do a right-click and Save As... Comma Separated Values (Untitled.csv by default)
6. Open in Excel... observe that some of the filled in data is embedded with the text preceeding it and NOT comma separated. Note - a raw text editor can confirm there are no commas separating the fieldtext and associated data.
Copy link to clipboard
Copied
Your'e not exporting the form data, but copying the entire contents of the file. The two are not the same...
Copy link to clipboard
Copied
Try67, I was told to do it this way from Adobe Tech Support. Is there another way to effectively export the data to CSV? Please share the method.
Copy link to clipboard
Copied
If it has to be a CSV file then you would need to use a script, but if you can use a tab-delimited text file instead of a CSV file (it's very easy to convert one format to another in Excel) then you can do it by going to Tools - Forms - More - Export Form Data and selecting the file-type as a text file.
Copy link to clipboard
Copied
It is extreemly sad that an Adobe support tech would tell you to do some so horribly wrong, but it's not unexpected.
There are a couple of ways to export form data without a script. Both are on the "More..." popup menu in the Acrobat "Prepare Forms" panel. Here's a screenshot.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
I've received a response from Adobe Technical Support. The steps are as follows:
1. Open PDF in Adobe Acrobat DC (Reader will not work for this purpose)
2. Select Tool "Prepare Form"
3. More Tools..."Export Data"
4. Select "Text Files"
5. Result file has 1st row with field names (in ALPHABETICAL order)
6. Data in the corresponding columns of the 2nd row
3. More Tools..."Merge Data into Spreadsheet"
4. Click "Add Files" add the file you're working on
5. Select "Export"
6. Result defaults to report.csv as a csv file.
7. Result file has 1st row with Field Names (in TAB order)
8. Data in the corresponding columns of the 2nd row
What a learning experience. Thanks for all of your help in this community forurm as well!!
Peter

