Hello,
I am using Thom Parkers example for Programming Lists and Combo fields, and when I export the XML, the Part List and Price return the same value. In the pdf, they are different.
I checked Thom's original XFA Form Example and his xml returns the same issue. Just looking for a solution as I would like to re-purpose the data collected to be used in some excel reports.
Thanks!
Joe
You can see my form at:
http://forums.adobe.com/message/2367412#2367412
In this case you'd need a global object that maps the Product ID to the Product price, very much like the global object that maps an assembly to a new list of part entries. In fact these could be same list. The code for setting the price then needs to be changed to use this mapping.
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