[jQuery] Submitting after Validation
I'm trying to create a contact form using Jquery Validation and Ajax
Submit. I'm having a problem figuring out the best way to submit the
results to a php file. Below is a break down of my validation code.
$().ready(function(){
$("#signupForm").validate({
rules: {
fullname: "required",
company: "required",
phone: "required",
email: {
required: true,
email: true
}
},
messages: {
fullname: "Please enter your fullname",
company: "Please enter a company name",
phone: "Please enter a phone number",
email: "Please enter a valid email address"
}
});
});