- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi
I have the same problem as Nick using Acrobat X Pro.
I'd like to send a form by email so that the reciever gets a flat pdf.
I tried to fill in what you've suggested but I've never tried to do javascript before so perhaps it's just nonsense:
this.getField(button name).access ="readOnly";
if (choice == 1){
var mail;
var address = "email@email.com";
var ccadd = ccAdd.rawValue; //taken from a field placed on the form
var sub = "xxxx";
var body = "xxxxxx";
mail = "mailto: email@email.com" + address + "?cc=" + ccadd + "&subject=" + sub + "&body=" + body;
this.submitForm({
cURL: mail,
bEmpty: true,
cSubmitAs: "PDF",
cCharset: "utf-8"
});
}
I can't get it to work. I get a syntax error: "missing ) after argument 1" at line 2 (if (choice == 1))
Thank you in advance,
Charlotte
Views
Replies
Total Likes