1jQuery(document).ready(function () { 2 let $contactForm = jQuery("#gform_1, #gform_2"); 3 4 $contactForm.validate({ 5 rules: { 6 'input_3.3': { 7 required: true, 8 minlength: 4, 9 }, 10 'input_4': { 11 required: true, 12 email: true, 13 }, 14 'input_2': { 15 required: true, 16 minlength: 4, 17 } 18 }, 19 messages: { 20 'input_3.3': { 21 required: 'This Field is Required', 22 minlength: 'Please Enter Minimum 4-words', 23 }, 24 'input_4': { 25 required: 'This Field is Required', 26 email: 'Please Enter Valid Email Address', 27 }, 28 'input_2': { 29 required: 'This Field is Required', 30 minlength: 'Please Enter Minimum 4-words', 31 } 32 }, 33 }); 34 35 jQuery("#gform_submit_button_1, #gform_submit_button_2").on('click', function() { 36 if($contactForm.valid()){ 37 if(jQuery("iframe").filter('[title="reCAPTCHA"]').length > 0 && grecaptcha.getResponse()){ 38 jQuery(".gform_ajax_spinner").css("display", "inline"); 39 $contactForm.submit(); 40 } else if(jQuery("iframe").filter('[title="reCAPTCHA"]').length < 1) { 41 jQuery(".gform_ajax_spinner").css("display", "inline"); 42 $contactForm.submit(); 43 } 44 } 45 }); 46});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.