I have a form that uses a Submit button to send the content as an attached PDF. I have also added a preSubmit script to verify that the form is complete and protect the containers on submission (see http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=14274 for that script... that's where I got it).
At this point, the attached form has the filename of my original source form. What I would like to do is define the name of the attached PDF form when it's submitted, using data from the form itself as part of the filename. I would also like to use data from the form in the subject line of the email that's generated. Is there a way to accomplish these goals?