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

Save As button with name generated from field names

anthonyp84
Registered: Nov 23 2011
Posts: 2

Hi,
 
I've created a pdf form in livecycle and added in a "Save As" button using the code: app.execMenuItem("save As")
 
I would now like to take this to the next stage of enabling the form to save based on the responses inputted in the form.
 
I would like the form to save with the following file name:
 
"PCR-Firstname + Surname"
 
First name and surname will be entered into the form by the user. PCR should be fixed and not changed.
 
I'm a novice with Javascript so your guidance is very much appreciated.
 
Thanks,
Anthony

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
Not a simple task. You need to create a privilged folder level script.

How to save a PDF with Acrobat JavaScript
User JavaScript Changes for 10.1.1 (Acrobat | Reader)

George Kaiser