PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________
You're welcome.
I spotted one error in the code that I posted, and it'll keep the code from working right.
Where it says "if a.length > 0 count +=1; " Change to "if (a.length > 0) count := 1;"
The added parentheses are necessary to create the logical test. You should've got a syntax error when you tried to run it.
You may want to try "JavaScript, the Definitive Guide" by David Flanagan (O'Reilly publishes it). It'll tell you more than you need to know about JavaScript, but some of the client-side stuff is essential, and isn't covered in the Adobe documentation. They assume that you already know how to initialize an array (there are several ways), establish a loop (again, more than one way exists), or catch exceptions. The code examples are just close enough to what you need to make your eyes water. (All language books share this characteristic.)
Good luck. Feel free to write me off-list if you run into something you can't resolve.
Jim
On Tuesday, Sep 2, 2003, at 11:08 US/Central, Marston, David wrote:
Many thanks for your help Jim.
To be honest this is beyond my current knowledge of JS but I guess this is
the best way to learn. But having said that I haven't got it working yet -
but I aint giving up!!
Thanks again.
Dave Marston.
Jim Plante <[EMAIL PROTECTED]>
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfforms.html
