I hate to ask for help again but ...well..I need it.
I've worked through some errors to get to this point where I have the following code and adobe accepts it.
However, when I hit the button nothing happens. (it just flashes)
I've made sure the settings set to mouse down and run a javascript.
var compnm = this.getfield("ManuCompName");
var ingname = this.getfield("IngredientName");
var kconname = this.getfield("pdevname");
var to = this.getfield("KContactEmail");
var start = "NEW RMIS from: "
var subj = start.value + compnm.value + "'s ingredient " + ingname.value + " for " + kconame.value ;
event.target.submitForm({cURL:to+"?&body=Sender%20or%20supplier%20Please%20remember%20to%20attach%20all%20supporting%20documentation.&subject="+subj+"",cSubmitAs:"PDF",cCharset:"utf-8"});
Thanks anyone for the help
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/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script