Hi Thom, when I copied your script and clicked the submit button, nothing happened.
Here is what I did:
1. I named the file "MyOrderForm".
2. I named the text field "LastName".
3. I changed the email on your script to my email address.
What am I doing wrong? I have created a button in acroforms and under "mouseup" action, I inserted your script.
Nothing happens.
Please go back and read my second comment in the previous post. I looked at how I'd used this method in the past and it is not as direct or simple as I was thinking when I wrote the original answer.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script