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

Using Form Field Data to pre populate when clicking save as button

darrell.thorpe
Registered: Oct 14 2010
Posts: 1

I have recently created a PDF form for cataloguing stock. I have it saving, printing using drop-downs etc
 
My client has asked me if there is a way that when you click save as link within the form, that it takes the serial number and automatically use this information as the file name e.g. '1200384.pdf'
 
I know this can be done I have spent hours trawling through the internet and now my hopes are pinned on the legends that type these walls.
 
DAz

DAz

My Product Information:
Acrobat Pro 8.1.1, Macintosh
George_Johnson
Online
Expert
Registered: Jul 6 2008
Posts: 1875
You should familiarize yourself with the doc.saveAs JavaScript method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.524.php

In particular, note the restrictions on privileged versus non-privileged context.