Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) JavaScript


Topic: Re: Javascript Limitation (Via Email)
Conf: (P-PDF) JavaScript, Msg: 27677
From: prodok
Date: 9/27/2001 05:05 AM

There is another approach to problems you describe. The limit of
_individual_ JavaScripts is indeed 32kByte. Yeah, I have run into
that a lot of times... BTW, note that attachments are not processed
in the forums's mailing list gateway (which is good). You might make
it available for download and send the links to the forum.

But what you can do, for example, is creating a multidimensional case
array. Every element of this array is an array of a given structure
with the relevant information for the cases. Each of these cases can
be stored in its own document level script, and your calling routine
can be set up that it takes care of an undefined number of selections.

The size of arrays is not limited by the 32 kByte, but essentially
only by the available amount of memory for the Viewer application.

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


_________________________




>I am having a problem with keeping the code in the Javascript
>function box. I know there may be a limit on the size of the
>javascript that you can have in there. Right now it is at 14k. I'm
>trying to paste javascript into the function that is only 18k.
>
>The form should come up and the user will need to select a state.
>Once they select the state, it will automatically populate a field
>on the first page with an english statement and on the second page
>with the spanish statement for that state. It works now, but if more
>cases are added to the JavaScript, when I try to save it, the
>JavaScript disappears completly. It will not save and the
>functionality does not work.
>
>The PDF that is attached works. If the javascript that is in the txt
>document is pasted over the current javascript in the file, it will
>not work.
>
>Does anyone know how to fix this problem? Is the javascript to big
>or can someone tell me if it can be broken apart?
>

PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Cool Tool: PDF to ePub Converter 2.0

ePub Converter 2.0 is a PDF file conversion program for converting PDF, HTML, XML, TEXT, GIF, and JPEG files into ePub file format.

March 04, 2010
Search Planet PDF
more searching options...







Download PDF Creator

PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools QuickPDF: The Unrivaled PDF Developer Toolkit

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

No upcoming events

PDF Store Categories