Hi,I included a Submit & an Email button in some of my forms. I've set them up as Regular buttons and coded them myself to do what I want eg:if(xfa.host.messageBox("Please save this form before emailing or data will be lost","Save Form",1,1)) app.execMenuItem("SaveAs"); var sEmail = form1.Pg2...