Previous | Next | (P-PDF) JavaScript
Topic: Re: resetForm( ) running forever... (Via Email)
Conf: (P-PDF) JavaScript, Msg: 27625
From: prodok
Date: 9/26/2001 01:16 AM
How many other fields with calculations do you have? Does the
combobox field also have calculations?
What happens when you programmatically set a value to the combobox field?
One code alternative would be something like
this.getField().value =
this.getField().defaultValue ;
Hope, this can help.
Max Wyss
PRODOK Engineering
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland
Phone: +41 1 700 29 21
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
_________________________
>We prepared a pdf file with a combobox field
>duplicated on about 30 pages. The file also have
>other 200 fields.
>
>This combobox needs to be reset at certain
>circunstances. For this we use the resetForm()
>method and select only the combobox as the field
>to be reset.
>
>When we call this code it lasts for about one
>minute! to be executed (very annoying). Is this a
>common behaviour or there is another way to reset
>the combobox to improve performance.