$(document).ready(function() { // validate signup form on keyup and submit $("#submitform").validate({ rules: { Full_Name: "required", Address: "required", City: "required", Zip: "required", Phone_Day: "required", Email: { required: true, email: true } }, messages: { Full_Name: "Required", Address: "Required", City: "Required", Zip: "Required", Phone_Day: "Required", Email: "Enter a valid Email" } }); $("#submitform").submit(function(){ if($(this).valid()){ self.parent.$('html, body').animate( { scrollTop: self.parent.$('#myframe').offset().top }, 500 ); } if(grecaptcha.getResponse() == "") { var $recaptcha = document.querySelector('#g-recaptcha-response'); $recaptcha.setAttribute("required", "required"); $('.g-recaptcha').addClass('errors').attr('id','recaptcha'); } }); $( "input" ).keypress(function( event ) { if(grecaptcha.getResponse() == "") { var $recaptcha = document.querySelector('#g-recaptcha-response'); $recaptcha.setAttribute("required", "required"); } }); });
* = Required Information
HHA RN LPN None
Yes No
Yes No
Yes No
Days Nights PM Live-in