- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi, I'm relatively new to this stuff...In LiveCylce Designer ES, I created an email button that when clicked, I want it to attach the current fill-in PDF and email to a fixed email address, cc the email address entered in a form field, pull a name from form to be included in Subject line. In the Script Editor, I chose JavaScript at the Language and put the following script under form1.#subform[0].Button1::mouseUp - (JavaScript, client)
var cToAddr = "persons mail address";
var cCCAddr = this.getField("Email").value;
var cStudentName = this.getField("StudentName").value;
var cSubLine = "Paperwork for " + cStudentName;
var cBody = "Message to submitter";
this.mailDoc(bUI: true, cTo: cToAddr, cCc: cCCAddr,
cSubject: cSubLine, cMsg: cBody);
When I test it, nothing happens (no error msg or anything) when I click the button. (Users will be using Adobe Reader.) Please help...thanks in advance.
Views
Replies
Total Likes