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 in LiveCycle

jfeldtmose
Registered: May 5 2010
Posts: 2
Answered

In Acrobat 9, we have used a button for Save As so that an employee can save the entire completed form in their computer files and then email the entire form to another staff member. A good example would be a Performance Appraisal Form sent to a supervisor.

I can't find a way to do that in LiveCycle without using script. Does anyone have suggestions - or examples of script they have used to accomplish this Save As function.

Saltypaws

jonom
Registered: Jan 31 2008
Posts: 133
Put the following on the Click event of a button (javascript):
app.execMenuItem("SaveAs");
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
In fact, you definitively will need a script to do this with a button in LCD.

Simplest method is to trigger the menu item "save as" from the file menu with a click on a button.
The script therefore is the following one:
app.execMenuItem("saveAs");

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

--SID--
Registered: May 4 2010
Posts: 31
While doing so make sure that no variables in the form, are left without an initial value.
if any variable has been defined, but not initialised, the SAVE AS script will not work

~~ S I D ~~