falieson — 2011-10-18T02:50:34-04:00 — #1
Nicely presented in jfiddle: http://jsfiddle.net/Yf4AS/
in the HTML section I placed the php file as well just so you could have a look.
what's the problem?
everything! validation isn't working and the mail() function isn't working!
Thanks for your help!
chris_upjohn — 2011-10-18T07:52:35-04:00 — #2
Please see the updated jsFiddle which has working validation and valid HTML markup now, when using the jQuery validation plugin the required class alone won't cause the validation to kick in which the demos and documentation clearly show. To get the validation working the easiest way is to define the fields in the rules and messages properties in the options object.
Also i would highly recommend you check over your CSS as you have over used a lot of the properties which can be converted to shorthand properties which will reduce about a third of your overall code.
falieson — 2011-10-18T14:55:27-04:00 — #3
Thanks for the help! yeah, the css was just a copy/paste from inspect-element. I cleaned it up a bit but I still don't have validation working:
As you might notice, I stopped trying to use the jquery validation and just went with what the tutorial originally said to go with. I figure once I get eveything working only then should I try to fix it up with the jquery validation i want.
falieson — 2011-10-18T15:12:24-04:00 — #4
Nevermind... my selector wasn't working.... Thanks for looking!