1$(".icheck").iCheck({ 2 checkboxClass: "icheckbox_square-blue", 3 radioClass: "iradio_square-blue", 4 increaseArea: "20%" 5}); 6 7$('.cvdo-submit-form').on('click', function(e) { 8 e.preventDefault(); 9 10 var formErrors = 0; 11 12 $(this).parents('form').find('.cvdo-required').each(function() { 13 if($(this).hasClass('cvdo-checkbox') 14 || $(this).hasClass('cvdo-radio')) { 15 var inputVal = $(this).find('input:checked').length; 16 } else { 17 var inputVal = $(this).find('input, select, textarea').val(); 18 } 19 20 if(!inputVal) { 21 $(this).addClass('has-danger'). 22 find('.form-control-feedback'). 23 html(': Field required! Please input information before continuing.'); 24 25 formErrors++; 26 } else { 27 $(this).removeClass('has-danger'). 28 find('.form-control-feedback'). 29 html(''); 30 } 31 }); 32 33 if(0 === formErrors) { 34 grecaptcha.execute(); 35 } else { 36 grecaptcha.reset(); 37 } 38}); 39 40function onSubmit(token) { 41 //var uni 42 /* 43 var formId = $("#form_id").val(); 44 45 46 if(0 === formErrors) { 47 $("#webForm" + formId).submit(); 48 } else { 49 grecaptcha.reset(); 50 }*/ 51}
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.