// File Name: oneshop-validation.js.php // Version: 1.0.2 06/11/2009 // Author: 1shoppingcart.com // Author URI: http://1shoppingcart.com // Copyright 2009 1shoppingcart.com (email : [email protected]) jQuery(function($) { var errorContainer = $("
Please fill in required fields.
").appendTo("#oneshop_custom_form").hide(); var errorLabelContainer = $("
").appendTo("#oneshop_custom_form").hide(); $("#oneshop_custom_form").validate({ errorContainer: errorContainer, errorLabelContainer: errorLabelContainer, ignore: ":hidden", messages: { Name: "Please Enter Your First Name", Email1: { required: "Please Enter an Email Address", email: "Please enter a valid email address, example: [email protected]" }, Company: "Please Enter Your Company Name", HomePhone: "Please Enter Your Home Phone Number", WorkPhone: "Please Enter Your Work Phone Number", Address1: "Please Enter Your Address", Address2: "Please Enter Your Address2", City: "Please Enter Your City", State: "Please Enter Your State", Zip: "Please Enter Your Zip Code", Country: "Please Enter Your Country", Fax: "Please Enter Your Fax Number", field1: "Field is required", field2: "Field is required", field3: "Field is required", field4: "Field is required", field5: "Field is required", field6: "Field is required", field7: "Field is required", field8: "Field is required", field9: "Field is required", field10: "Field is required" } }); });