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

collecting data in one form and using the info in a different form

sportmgt
Registered: Oct 16 2009
Posts: 2

I have checklists that my employees fill out at job sites. I want to be able to take their answers through the e-mail response form I send them and import their answers from that PDF form I created into another form with a different layout, but using the same data fields as the original form they submit to me. Please help. Thanks.

My Product Information:
Acrobat Pro 9.1.3, Windows
ainge
Registered: Oct 19 2009
Posts: 5
similar routine i wanted to accomplish: send data from pdf and grab data from a database to fill the whole form.

let me explain:
1- I have pdf form (the type where there are a lot of information needed)
2- The client will fill up the form and submit it
3- I have a server-side script that catches the submitted form and save it to a database (MySQL, e.g.)
4- when the client will go back to the form again, he/she need not to complete the form again : he/she just need to input identifying data (username and password)
5- the PDF will send the username and password via HTTPrequest
6- the server-side script will do the query to provide the data and back to the client
7- upon receipt of the data, the PDF will do the filling of the rest of the fields
8- changes can be made as necessary and submit the form aka step 3


I need help on how I can implement from step 4. Can AJAX be used? Like so, it can be customized to solve the earlier posted problem.

Thanks in advance.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
[b]Ainge[/b], Please post your question to another thread. It's not relevant here.


[b]sportmgt[/b],
This is not a problem as long as the data that's been sent to you is in a usable format, for example FDF format. FDF can be imported directly into any PDF form from the "Form > Manage Form Data > Import..." menu item. All the fields on the form that matchup with fields in the FDF will be populated.FDF can also be collected and combined into an Excel spread sheet using the "Forms > Manage Form Data > Merge Data into Spreadsheet ..." menu item.If you are already using the "Distribute Forms" fucntionality you can take a silghtly different route. Use the "Forms > Manage Form Data > Export..." menu item to save data out of the collection form into the proper data format and then import this into your special form.There are of course ways to automate this process so you don't have to do all the manual importing and exporting. However, the manual bit is free and it might cost a bit to have scripts/programs written to automate it in the way you want.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script