Expand my Community achievements bar.

Is it possible to implement ?

Avatar

Level 9

Hello All,

I have a form which has 7 pages. I’d like to have a feature that once a document is opened and anything is entered, it must be ‘saved as’ a different document title.

Thanks.

Bibhu.

3 Replies

Avatar

Level 10

Yes, but you need a trusted mechanism to realize this, such as a folder level script.

Here an example:

http://thelivecycle.blogspot.com/2009/11/save-form-to-specific-directories-and.html

Avatar

Level 9

Hello radzmar,

Thanks.But where should I write this scrit ? I mean in which event ? Should I write it in the form1 event of docClose ?

Thanks.

Bibhu.

Avatar

Level 10

No sure what you mean.

There are two scripts, one for the folder level script (*.js file in avascript folder of Acrobat/Reader) and one for a button (click event).

Just check the sample form, to see how it works.

Here are several tutorials you should use to understand the meaning of a folder level script:

http://acrobatusers.com/tutorials/2006/folder_level_scripts

http://stage.acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

http://acrobatusers.com/tutorials/2008/10/using_trusted_functions

http://acrobatusers.com/tutorials/file-paths-acrobat-javascript