Hi, everyone. I'm new here and new to InfoPath as well. I'm finishing up my first form, and I've got some VBScript validation code that runs when the user clicks a submit button. I want that code to run before it e-mails the form. I cannot, for the life of me, figure out how to do this! I've come across the MailMessage code on here but can't get it to work. It doesn't like "System", and I can't find where to reference it.
After I get the code to e-mail, I need to have the data save to Access or some other queryable data source. But I'm not even worried about that at this point.
Thanks in advance for your help!