Answered
I need a simple script to submit 1 textfield only instead of e-mailing the whole pdf.
I just want a textfield named example: Comments
the text to be submitted to a e-mail address.
how to do this?
I need a simple script to submit 1 textfield only instead of e-mailing the whole pdf.
I just want a textfield named example: Comments
the text to be submitted to a e-mail address.
how to do this?
this.submitForm({cURL:"mailto:<span class="spamspan"><span class="u">me</span> [at] <span class="d">my [dot] com</span></span>", aFields:["Comments"], cSubmitAs:"XFDF"});
var cBody = "Data: " + this.getField("Comments").value;app.mailMsg({cTo:"<span class="spamspan"><span class="u">me</span> [at] <span class="d">my [dot] com</span></span>", cSubject:"Comment Data", cMsg: cBody});
this.submit({cURL:"mailto:me [at] my [dot] com", aFields:["Comments"],cSubmitAs:"XML"});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]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script