473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PDF javascript

Hi,
I have a pdf form that has an invoice number I would like to make the
number in the text field add (1) each time the document open and save
it, so that the next time the document is opened it will display a
consecutive number. Example: 9078, 9079, 9080, 9081...etc.

I appreciate your help.

Feb 7 '07 #1
1 1598
VK
On Feb 7, 10:12 am, "moussa854" <musa...@yahoo.comwrote:
Hi,
I have a pdf form that has an invoice number I would like to make the
number in the text field add (1) each time the document open and save
it, so that the next time the document is opened it will display a
consecutive number. Example: 9078, 9079, 9080, 9081...etc.

I appreciate your help.
Adobe JavaScript is an implementation of ECMAScript so theoretically
it is in relevance to this newsgroup. At the same time the involved
DOM and host objects models is rather different from the one you have
in UA. This way you may get a quicker help at Adobe forums. For Web
solutions I would suggest cookies or - for modern UAs - saveSnapshot
behavior on IE and its functional equivalents on Gecko browsers. I do
not dare to suggest anything for PDF Reader though.

You may ask at <http://www.adobeforums.com/cgi-bin/webx/.ee6b2e6/>
See also <http://www.adobe.com/devnet/reader/>

P.S. Beware that Adobe also owns ActionScript they got with purchasing
Macromedia technologies. It is yet another ECMAScript implementation
but very different from PDF JavaScript, it is closer in many aspects
to JScript.NET
Thus when asking for scripting help on Adobe forums always make clear
what are you programming with: Adobe Reader or Adobe (formely
Macromedia) Flash - otherwise it is easy to get help for all another
language.

Feb 7 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.