PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

If it's on the web, and you are using some other type of pages like html to
call this form, you should be able to get the number of hits to this file
easily by the that other page. unfortunately, I don't know how to do this in
javascript, but you can find loads of these free counters to download,
(search for them via your search engine, like google) Here is one of them:
 
http://www.easycounter.com/FreeCounter3.html
<http://www.easycounter.com/FreeCounter3.html> 
 
It is a simple code in four lines to call a free exe counter file on your
server. (be careful, Check them out for virus etc before using them).
Use the value of this counter and pass it either by generating an fdf file
to call your pdf file with this value in it, or any other method that you
can pass this value into your PDF Form, anytime the the user calls this
form, will have this unique number in a visible form field.
 
Hope it helps
Easa
 
 
 
 

-----Original Message-----
From: Malcolm,Sharon [mailto:[EMAIL PROTECTED]
Sent: 13 June 2003 20:59
To: '[EMAIL PROTECTED]'
Subject: RE: [PDF-Forms] Sequentially Numbering PDF forms (Bad Solution)


Thanks for answering. Unfortunately, the bosses want so that there is no way
that the same number could be assigned to two users. I know that it could be
done connecting it to a database on the server, not that I know how. We
would need to get our computer center involved in that and they are really
not very cooperative! That's why I was trying to do it within PDF. It's the
only way I could get it done quickly.
 
Thanks, Sharon

-----Original Message-----
From: Day, Tim G. [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 3:41 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PDF-Forms] Sequentially Numbering PDF forms (Bad Solution)



Sharon,

 

This is admittedly a bad solution (or no solution at all), but it is how I
have handled the problem of creating unique-identifying numbers for forms.
I believe a good solution would involve connecting the form to a database
containing a field for the unique form number (which would be incremented
and then stored in the database every time the form is accessed).
Unfortunately, I have not yet connected any PDF forms to databases.

 

The following JavaScript creates a unique number (12-digits) based on the
date and time, so the number changes every second and therefore probably
produces a unique number, but theoretically two users could access the form
at exactly the same time:

 

var d = new Date(); /* Create a Date object containing the current date. */

var f = this.getField("REQUISITION_NUMBER")

f.value = util.printd("yymmddHHMMss", d);

 

This script is the same except that it produces a shorter number (10-digit)
that changes every 10 seconds:

 

var d = new Date(); /* Create a Date object containing the current date. */

var f = this.getField("REQNO")

var str = util.printd("yymmddHHMMss", d);

f.value = str.substr(1,10)

 

The parameters for "substring" are the starting character and one more than
the ending character where the first character is numbered zero.

 

-----Original Message-----
From: Malcolm,Sharon [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 2:43 PM
To: '[EMAIL PROTECTED]'
Subject: [PDF-Forms] Sequentially Numbering PDF forms

 

I am new to this list. I have a problem with a fill in PDF form that I've
made. My boss wants the form to be on the website and each one that is
printed is assigned a sequential number which can never repeat. It couldn't
assign a number each time it's viewed, it would actually have to be printed.
There won't be a submit button because we're still at the point where we
need a physical signature. For example an invoice would each have it's own
number that is in order. I know that the first thing to do would be to
assign a form field. I have found a form on the web and a random number is
assigned but I can't find anything that assigns a sequential one. Is this
possible to do within PDF with a JavaScript or does it need to interact with
the server to get the number assigned? Unfortunately, I don't know
JavaScript or any other kind of programming. Any help you could give me
would be appreciated.

 

Thanks,

Sharon



As this message has come from a source external to the AES network, there is
a possibility that it may contain harmful attachments. If in ANY doubt about
the content or the identity of the sender, please contact the IT Department.



This e-mail is only for the use of the addressee. It may contain information
which is legally privileged, confidential and exempt  from disclosure. If
you are not the intended  recipient you must not copy, distribute or
disseminate this e-mail or attachments to any person other than the
addressee. If you receive this communication in error please advise us by
telephone at once. 
AESSEAL plc Tel. +44 1709 369966 

 Visit our Website at http://www.aesseal.com

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html

Reply via email to