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

Saving forms in Reader and auto appending filenames

drutter
Registered: Mar 9 2010
Posts: 10
Answered

Hi,

I'm a complete novice and I've been trawling posts for a good few hours. While I've made some headway I need some final pointers. I know it's been spoken about before and apologies if creating a new post is bad etiquette.

I have a static form with a submit button that e-mails the form to my specified address. Fine.

Now I need to get the form to have a different filename each time it's e-mailed to me. I've successfully added the app.execMenuItem("SaveAs") action to the submit button, which works but I'm worried users will just hit save and not amend the file name.

I'm unclear whether I can easily get the form to append the filename without the use of trusted functions or signatures. I need to append the filename with either the date and time or perhaps one of the form fields in the 'Save As' dialog box.

Regards,

Dan

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi,

the only way for you to save PDFs with a filename generated from from field data is a trusted function.
Therefore you need a folder level script on every client computer that works with this form.

There is no work-around because of security settings in Adobe Reader/Acrobat.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

drutter
Registered: Mar 9 2010
Posts: 10
radzmar,

Thanks for the confirmation. I have too many potential users on different networks to make the trusted functions practical.

Guess I'll have to look at my Outlook script to rename the attachments as it saves them.

Thanks again,

Dan