PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
It is possible to include JavaScript code into the FDF which will be executed after the field values have been loaded. You will use (if I remember correctly) the /JS key and the /After key. It is described in the specification for the FDF format, which is part of the Portable Document Format Specification.
Hope, this can help.
Max Wyss PRODOK Engineering Low Paper workflows, Smart documents, PDF forms CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37 or +1 815 425 6566 e-mail: mailto:[EMAIL PROTECTED] http://www.prodok.com
[ Building Bridges for Information ]
______________________
My colleague has found a problem with my approach of using the document-level JavaScript to perform the "DocOpen" event.
We use PDF files in workflows, where the PDF is initially downloaded and manipulated, and then the FDF file is routed through email. When the user loads the FDF file, it's supposedly to implicitly load the PDF file and then merge the fields in the FDF into the PDF. This process basically works, but what we're seeing is that when we load the PDF by loading an FDF, it appears as if the document-level JavaScript is executing before the fields from the FDF file are merged into the PDF. Is it expected that the scripts will execute before the FDF is merged? Is there an easy way we can build the document so that the scripts are executed AFTER the FDF data is merged in?
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
