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

My client wanted to add an auditing (tamper-proof) field to an accounts
payable voucher which would identify the person filling in the document.

I successfully used the following script to automatically fill the field
from the system loginID, and made it tamper-proof by making it a
read-only field which keeps the ID even when the saved PDF is e-Mailed
to another person.  

Unfortunately now it is too tamper-proof!  I have found if I make
changes to the original PDF, my login is applied immediately and no-one
can change it.  Help!  Is there an administrative password I can use
<grin>?  Or can the script be modified so when it sees my login it
disregards it?


               **************
               var f = this.getField("PreparedBy");
               
               if (f.value == "")
               {
               f.value = global.myUserID;
               }

               **************

BTW:  I am now using Acrobat 6.0 Pro.

Thanks for any help you might offer!

=================
Bet Morash  
Forms & Web Administration
Technology Services Division
City of London
Suite 600
380 Wellington Street
London ON  Canada N6A 5B5   
Office:  519.661.4682
Fax:  519.661.5985
Web site:  http://london.ca   
Member of CGSB on Standardization of Forms Management (Canada)
Member of Business Forms Management Association
Marketing Committee for the 2004 London Can-Am Police-Fire Games








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

Reply via email to