Answered
I am incredibly new to this and I don't really know what I am asking but here goes...
I'm trying to create an invoice in Acrobat Pro for my business where I can spawn new pages from a template, each new page being a new invoice.
When I spawn a new page, the field names change as I had intended, however the calculations don't work because the field names have been changed and my javaScript refers to the original field names on the template. They work fine on my template of course. Am I trying to do the impossible?
Look at this article:
http://www.acrobatusers.com/tutorials/2006/string_splitting
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