Click to See Complete Forum and Search --> : Submit Form to email


irie
07-16-2003, 08:16 PM
Here is what I'm trying to do. I have a form that checks to make sure all fields are filled and if a field isn't, it asks to be completed. Once done, the information is to be emailed to me. The catch is, I can only get either the information to be sent, or the message stating that all fields need to be filled.

The code can be seen here
http://www.nalc-branch78.org/coa-test4.html

Mailmen all over will be grateful...especially those that haven't updated their address.

Khalid Ali
07-16-2003, 08:44 PM
from the looks of it this might be the error..

action="mailto:trevor@nalc-branch78.org?subject=Member Change of Address"

put the subject in qoutes it would look like this

action="mailto:trevor@nalc-branch78.org?subject='Member Change of Address'"

irie
07-16-2003, 09:03 PM
I checked that. I can leave all the fields blank and the form will still be submitted.

Thanks though.

Khalid Ali
07-16-2003, 09:14 PM
that means your validation code is not correct ...see if you can fix it...