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

automatically fill file name in save as dialogue box with field data

tribblehunter9902
Registered: Nov 7 2010
Posts: 1

Hi. New to this forum and been playing about with pdf's for a while.
 
trying to enable a button on pdf which will call up the save as box but rename the file in the 'file name' box to one created from fields on the form. Trying to avoid users overwriting original form.
 
Any advice greatly recieved.
 
Using livecycle designer
 
Thankyou
 

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
You will need to write an application level script and place it on each user's system.

George Kaiser

banky007
Registered: Sep 15 2010
Posts: 3
I have heard this phrase a million times and have read about it but it is very unclear, please how do you write an application level script. Can you please give us a guide line?
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
Acrobat/Reader are installed in folders on your system. Within the \Adobe\Acrobat#.0\Acrobat folder there is a folder named "Javascripts" in which you can place text files of JavaScript code into this folder and the script will be available to all users of that computer. There is also a Javascript folder within each userID for scripts that are only available to that user on that computer.

See Entering Folder Level Scripts and How to save a PDF with Acrobat JavaScript by Thom Parker.

George Kaiser

radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi,

maybe this sample can help you to get started with this topic.

Click here

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

banky007
Registered: Sep 15 2010
Posts: 3
Gkaiseril and radzmar, thank you so much guys for throwing more light on this topic. I will go through the tutorials and hopefully get it to work this time.