Create a Save Form button in Adobe Livecycle Designer
I’ve recently been working on interactive PDFs in Adobe Livecycle designer. I’ve realised that it is possible to create interactive PDFs which can be saved in Adobe Reader 8, and create a save form button to encourage users to do this.
For normal users, there are three stages. Advanced users can skip straight to the code.
Stage 1: Create a PDF which can be saved in Adobe Reader 8
- Open the PDF in Adobe Acrobat Professional
- Choose Advanced > Enable Usage Rights in Adobe Reader
- Save the file somewhere, as directed
Stage 2: Download and install the save form button XFO
- Download the “Save a Copy” file from http://www.livecycletraining.com/ (direct link to zip file)
- Save the XFO file somewhere safe
- Open your form in Adobe LiveCycle Designer
- Click on the menu icon in the Library pallet
- Choose Add Group & enter a name
- Now click the menu icon on your newly created group, and in the Group properties options box, locate the XFO file
Stage 3: Create a Save Form button
- Simply drag the save form button which appears in your newly created group.
Save form button instructions for Advanced Users
Add the following javascript code to a button in the XML source view on your interactive PDF.
<event activity="click">
<script contentType="application/x-javascript">app.execMenuItem("SaveAs");</script>
</event>
March 5th, 2008 at 1:06 pm
Thanks for the Save button feature.
Do you happen to know if it’s possible to enter a UNC path the Jscript expression, to offer a standard place to save all the PDF filled out?
I simply want to make sure that all my employees save to same path
Regards
Kim