PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________
There are a few steps to follow to make things work well.
First, clean up your code so that it won't depend directly on field names, but use the event.target field object instead.
Max (or anyone else),
Do you have any simple examples of how to implement this? Does/can this be used in place of this.getField("FieldName")
thx
Dave
Second, make a function out of your code, which you can call without arguments (unless they are kind of global for the document).
Third, install the function as a document level script.
Fourth, install the function calls. For that, you would create another script you would (if you are working manually) run from the Console. This script would for one loop through the fields, possibly do some evaluation of the kind of field, and then use the addScript() method to add the previously specified function call to the according event.
Hope, that 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 ]
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfforms.html
