I have a mailDoc setup that isn't working. I copied the code from my other working document, and just changed the field names to suit.
var mailTo = this.getField("combosig2").value;
var subject = "Certificate of Acceptance for " + this.getField("Milestonename").value;
var msgBody = "Insert message body.";
this.mailDoc({bUI: true, cTo: mailTo, cSubject: subject, cMsg: msgBody});
This code works great in another form I use, but when I put this info into this certificate of acceptance form, it does absolutely nothing.
The only difference I can see is that I have these forms become visible after a digital signature is written. However, I have unlinked that requirement, and made them visible in an attempt to simply check the code and see if they are working. Still no results.
Any thoughts?
Any help is appreciated.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script