These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Codes in the footer of pdf doc to keep track of document ownership?

Abbica
Registered: Feb 4 2009
Posts: 38

Hi, Would anyone know if you can put a coding system on the footer or whereever on a pdf which keeps track of the pages. E.g. we will give our pdf application form to our broker, he fills it in with client, they return it by post, but as things go, pages can get mixed up so is there anyway, that everytime the broker opens the form that it keeps count of which number it is, say something like when he opens it the fourth time it read, doc 0.004 then when he opens it the 8th time it read, doc 0.008 etc etc. so we always know which page goes with app forms please?

Actually, just thought of perhaps another way, what about entering a date and time, that way you could see, can you do that in acrobat 8 pro?

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, there are a couple of things you could do.

First, the Acrobat JavaScript model includes a persistent global object. So you could store the an instance number here. Look up "global" in the Acrobat JavaScript reference.

Next, yes you can place the current date on the document when it is opened. But how you do it depends entirely on what kind of form technology you're using. Is this an AcroForm or LiveCycle form?

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script