I have a this.mailDoc script in a form I'm putting together. It's working fine, but what I'm needing are instructions on how to require certain fields to be filled in before the this.mailDoc can execute. I know how to do this using the stock Submit Form button, but that won't work for me in my particular situation. Thoughts?
You have to use your own validation function to make sure the required
fields are filled-in.
I've posted some code that does this on these forums a while ago... Try
searching for "validate required fields".
Thanks. I was able to find some code and get that part of my form worked out.