I have created an editable PDF, I have also created a button so that the person completing the form can press to submit and clears the form for the next candidate. What I also want the button to do is rather than bring up the Save as dialogue box, automatically save to a folder on the desk top. Can you help me with the coding I need to add in Livecycle to do this?
Well,
for a silent saveAs function, you will have to install a custom folder level script on each computer you wanna use the form.
You also have to ensure that the target folder is already present on those computers.
Reader won't create the folder by itself, if it doesn't exist.
Here a few threads you should read first.
http://forums.adobe.com/message/2266799#2266799
http://forums.adobe.com/message/3292113#3292113
Views
Replies
Total Likes
Thanks,
So my understanding is I need to create a "trusted function". Which is a javascript that is written into a .js file, which is then put into the Adobe application/Javascript folder on the C:// drive...... So how do I create this?
And what about the PDF, what code do I type to send it to this .js file?
Sorry, I'm brand new to all of this.
Cheers
Kerry
Views
Replies
Total Likes
Those folder level scripts can be easily created with an editor.
Just type the script into a txt-file, save it and replace the file extension "txt" with "js".
Then copy it into the javascript folder of Acrobat/Reader and restart the app.
The script inside the folder level script will be loaded automatically when Acrobat/Reader is started.
Here's a tutorial that explains how to create a custom save function with a folder level script.
http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript
Also, a working sample file and folder level script
http://thelivecycle.blogspot.com/2009/11/save-form-to-specific-directories-and.html
Views
Replies
Total Likes
Radzmar I need some help also
I follow all the info but still lost.
I am trying to make my submit button send the form to a folder but not getting through.
Views
Replies
Total Likes
There's a newer sample available you can start with: LiveCycle Blog: Formulare mit neuem Namen in bestimmtes Verzeichnis speichern//Save forms with new n...
Views
Likes
Replies
Views
Likes
Replies