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

Best way to determine where the form is being used

Gheezer
Registered: Feb 16 2009
Posts: 19

I have been looking and trying various ways to determine if a PDF is being used inside or outside of our company's network. The form needs to act and show specific fields based on location. Since I'm just a novice to JavaScript, I'm perplexed on what can/cannot be done. JavaScript is by far not as user friendly as VB. Does anyone know of a sure way to program my document that can determine if a document is being used inside or outside of a company network. The document will most likely be opened with Acrobat Reader.
 
Thanks.

My Product Information:
Acrobat Pro 8.2.6, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
The best way I can think of is by accessing the url property of the Document object. It will return the current URL of the file, which you can then analyse and see if it's on your network or not.
However, if the file is first saved on the local machine and then opened, I don't think this will help you much...

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com