When you create a button and set its Control Type to Submit, the Submit tab appears in the Object palette. It displays several options specific to formatting buttons that submit data.
Submit to URL
Submit As
XML Data Package (XDP)
PDF
....and so on
However, that "Submit tab" mentioned above which will give as the option to do what we want is missing and I could not find how to put it under Object Pallete.
Are you using the button instead of the submit by e-mail button? This option is only available only in the button. Submit by e-mail button is predefined to only send xml information. I have Adobe Designer 7.0 and this what I had to do. Matt
I have figured out how to send the email, as pdf. However, the subject is sent as default af5930wjfnso449. Is there a way to change the subject for the email and rename the pdf as well before sending?
Add a button to the form, then add the following javascript to the button. This will prompt the user to save the file, and that pdf file will then be attached to an email with the recipient, subject, and body of the email filled out.
app.execMenuItem("SaveAs")
event.target.mailDoc(false,"youremailaddress@whatever.com", "", "","Subject of Email", "Body of Email");