Hello, I'm having trouble figuring out how to do this, and I didn't find an answer when I searched the forum.
I've got a form that's connected to a database. I can submit to it fine. I've got another form that contains code to submit via e-mail. I put this code in a button's onClick event.
What I can't figure out is where to put that e-mail code in my database-connected form. The button is an actual submit button. It doesn't use rules/codes or anything. I want the e-mail code to execute BEFORE the database submit because it contains validation scripts for the input data.
Thanks in advance for any help!