Previous | Next | (P-PDF) JavaScript
Topic: Re: Calculated Fields (Via Email)
Conf: (P-PDF) JavaScript, Msg: 28365
From: prodok
Date: 10/10/2001 10:20 PM
Put all the calculations into one single script.
Put this script for one in the last element of your chained
calculation (such as the Grand Total). Also put this script in the
PageOpen event of the page your document will open.
If this does not work, put this script in the Format event of the
last element of your chained calculation and try again.
If that still fails, make a function, and have the FDF sent by the
ActiveToolkit to execute a JavaScript after loading the FDF, which
will then simply be the function call (this procedure requires
Acrobat (Reader) 5).
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
e-mail: mailto:max@prodok.com
http://www.prodok.com
[ Building Bridges for Information ]
______________________
Shameless Plug:
I will have presentations and pre- and post-conference workshops at
the .PDF2001 West Conference in Scottsdale, AZ, Nov. 5 to 7, 2001.
More details at http://www.pdfconference.com.
Workshops:
Nov. 4: Implementing Business Processes based on PDF
Nov. 8: Enhancing PDF Forms
_________________________
>Using java script, how would I force all calculated fields to
>calculate when opening a form? I am using VB & ActivePDF's
>ActiveToolkit to populate form fields on a .pdf form. However, the
>calculated fields do not calculate. I was advised by ActivePDF that
>I might find a solution here. Thanks,
>$