Answered
Hi,
I am looking to use Designer 7 to capture PDF forms from schools who are reporting on Racist incidents.
I have desinged the form and set it to capture the data via an email which would send the form back as a XML file. The form is 3 pages in all.
However, when I go to upload the file instead of uploading it as one main table it uploads it as 3 seperate ones (due to the 3 pages the form is made up of).
I want to have one table to ensure data integrity and I am hoping that someone can help me out with this as it's been bugging me for well over a week.
Many thanks
Kien
If you are not familiar with XML processing I'd suggest the second option. Make Acrobat export the XML in the proper grammar. First you need to figure out what this XML grammar is. One way is to create the Access table you want, fill it with some dummy data and then export to XML. Once you have the XML file, set it up as a Data Source for your form in LiveCycle Designer and then bind the form fields to the appropiate nodes in the DataSource. That's it. Now Acrobat will export XML data in the defined grammar.
You have to be a bit careful in this process. When hooking the XML up, Acrobat will interpret repeated XML nodes as repeated subforms/fields. And in the other direction, if your form has any repeated subforms/fields you will not be able to import these into a single table. Repeated form data, like the lines in an order form, implies multiple DB tables.
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