Attached is a form created using Adobe Livecycle. The "Submit by E-mail" button is from the standard Livecycle object library. Unfortunately using this button does not work in Adobe Reader (we use Reader 9+) because only the data is e-mailed, not the whole PDF form. Most of my users have Reader, no Acrobat. I have found code on the web to create my own e-mail button, which is marked with just a "1" on the button on top of the form. The code compiles without errors but the mydoc.maildoc does not execute. If I put a messagebox on both sides of the mydoc.maildoc statement the messagebox below the mydoc.maildoc does not execute, telling me that there is something wrong with the mydoc.maildoc statement. As you can see in the code I've tried several iterations of the code.
In addition, I'd like to pull a couple of the fields, FranchiseeLastName + FranchiseeFirstName + a date/time stamp and save the file to a network directory for backup right before or after the mydoc.maildoc executes. So I'm also trying to figure out how to use the saveas command.