$(document).ready(function() { $("#jroxContactForm").validate( { rules: { cc_one: "required", cc_two: { required: true, email: true } }, messages: { cc_one: "Please enter your name", cc_two:"Please enter your email address" } } );}); $().ready(function() { $("#jroxMemberResetPass").validate();});