Hi:
i have contact form that i thought the validation (.js + php) worked fine because i received emails
that were only submitted w/ all fields correctly filled in. i added submission to mysql database, then
found out that empty fields were being submitted to database -- but not email..
this is how validation behaves::
fill in name only == js blocks
fill in valid email only == js blocks
fill in bad email format == js doesnt block
fill in name + email wrong format == js blocks
fill in name + email correct format == js blocks
this link has both .js and php validation files..
http://jsbin.com/ixupuk/1/edit
i dont understand how validation would work for email but not database...
thanx for any help