Tried copying various scripts to try to do what I want--this one seemed the closest but I'm a javascript beginner and not sure how to fix this. Please Help!
var g = this.getField("Company Name");
this.submitForm("mailto:myname1@company.gov?"
+ "&cc=hername1@company.gov"
+ "&subject="Small Business Licensing Candidate Information" + encodeURI(g.value)
+ "&body=Please attach the following files:
1)Joint venture participant's legal name, legal form, and headquarters location if applicable.
2) Table of the company capitalization, including ownership and percentage owned.
3) Resumes of the founder(s) and the top management teams. Be sure to highlight their relevant experience.")
cSubmitAs: "PDF";
Trying to create custom Submit button that populates subject line including field data from the form, include instructions in the body, and submit as PDF. Also would like line breaks in-between the numbered items in the body.
My Product Information:
Acrobat Pro 8.1 / Windows
Offline

try this and tweak it as desired:
var g = this.getField("Company Name");
this.mailDoc({
cTo: "myname1@company.gov",
cCC: "hername1@company.gov",
cSubject: "Small Business Licensing Candidate Information " + encodeURI(g.value),
cMsg: "Please attach the following files:, 1)Joint venture participant's legal name, legal form, and headquarters location if applicable. 2) Table of the company capitalization, including ownership and percentage owned. 3) Resumes of the founder(s) and the top management teams. Be sure to highlight their relevant experience." });
ted
Offline
Ted, mailDoc instead of submitForm was truly the answer and the script works perfectly! Thanks so much and hopefully someone else can also benefit from this!
Offline

Ooops. Sorry. You're right. Should be mailDoc. MailForm sends the data.
ted
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in