*YesNoVeterinarian Name Coop dimensions (where chickens sleep at night, e.g. As with factory-farmed hens, many backyard hens are no longer wanted once their egg production drops at just a few years old. "); if (clear_data == true) { jQuery.get('https://animalplace.org/wp-admin/admin-ajax.php?action=FMSaveProg&addon_task=clear_data&form_id ='+form_id ).done(function() { window.location = "/adoptable-chickens/"; }); } return; } if (window.before_submit) { if(before_submit()) return false; } if (but_type != 'save') { if(!wd_is_filled(form_id)) return false; if(!wd_check_regExp(form_id)) return false; if(!wd_check_price_min_max(form_id)) return false; if(!wd_file_upload_check(form_id)) return false; x = jQuery("#form"+form_id); } var a = []; if (typeof a[form_id] !== 'undefined' && a[form_id] == 1) { return; } jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); jQuery("").appendTo("#form15"); var disabled_fields =""; jQuery("div[wdid]").each(function() { if(jQuery(this).css("display")=="none") { disabled_fields += jQuery(this).attr("wdid"); disabled_fields += ","; } if(disabled_fields) jQuery("").appendTo("#form15"); });jQuery("").appendTo("#form"+form_id); a[form_id] = 1; var checkStripe = 2; if(checkStripe == 1){ var jq_mainForm = jQuery("form[id='form"+form_id+"']"); if (jq_mainForm.find(".wdfm_stripe_elem").first().parents(".wdform_row").is(":visible")) { wdfm_call_stripe(); } else{ document.getElementById("form"+form_id).submit(); } } else{ document.getElementById("form"+form_id).submit(); } } function check15(id, form_id) { if(!wd_is_filled(form_id)) return false; if(!wd_check_regExp(form_id)) return false; if(!wd_check_price_min_max(form_id)) return false; if(!wd_file_upload_check(form_id)) return false; x = jQuery("#15form_view"+id); return true; } function before_load() { } function before_submit() { } function before_reset() { }#form15 input[type="text"] {box-sizing: border-box;} .form15 .wdform-page-and-images .other_input{max-width: none;}.form15 button, .form15input, .form15select, .form15textarea{font-size:14px;}.form15 .warning, .form15.error{background-color: #F0EFEF;border: 1px solid #013D7C;border-radius: 5px;color: #013D7C;padding: 5px;}.form15 .warning *, .form15.error *{margin:0;}.form15 .recaptcha_input_area input{height:initial !important;}.form15 input[type="radio"]{border:none !important;outline:none !important;}.form15 input[type="checkbox"]{border:none !important;outline:none !important;}.form15 a.ui-spinner-button{border-radius:0px !important;background: none!important;}.form15 a.ui-slider-handle {width: 13px;height: 13px;top: -4px;border: 0px;border-radius: 13px;background: #FAFAFA;border: 3px solid #B1B1B1;outline: none;}.form15 .ui-slider { height: 6px; background: #F5F5F5 !important; margin: 7px 0px;}.form15 .wdform_grading input { width: 100px;}.form15 .wdform-matrix-cell input[type="text"] { width: 100px;font-size: 14px !important;}.form15 .wdform-matrix-cell select { width: 60px;font-size: 14px !important;}.form15 .wdform_section .wdform_column:last-child { padding-right: 0px !important;}.form15 .wdform_preload { display: none;}.form15 .wdform_grading { padding: 3px 0px;}.form15 .wdform-matrix-table { display: table; border-spacing: 0px;}.form15 .wdform-matrix-column { text-align: left; display: table-cell;}.form15 .wdform-matrix-cell { text-align: center; display: table-cell; padding: 6px 10px;}.form15 .wdform-matrix-head>div { display: table-cell; text-align: center;}.form15 .wdform-matrix-head { display: table-row;}.form15 .wdform-matrix-row0 { background: #DFDFDF; display: table-row;}.form15 .wdform-matrix-row1 { background: #E9E9E9; display: table-row;}.form15 .selected-text { text-align: left; color: #000;}.form15 .wdform-quantity { width: 30px; margin: 2px 0px;}.form15 .wdform_scale_rating label { vertical-align: middle;}.form15 .ui-corner-all { border-radius: 0px;}.form15 .ui-widget-content { border: 0px; background: transparent;}.form15 .ui-slider-range { background: #8A8A8A !important;}.form15 .wdform_map { border: 6px solid #fff;}.form15 .wdform-page-and-images { width: 100%; border: 0px solid #000 !important;padding-left:10px;}.form15 .paypal-property { display: inline-block; margin-right: 15px; vertical-align: middle;}.form15 .sel-wrap { display: inline-block; vertical-align: middle; width:100%;}.form15 .sel-imul { display: none;}.form15 .sel-imul .sel-selected { cursor: pointer; position: relative; display: inline-block; border-radius: 0px; padding: 0px 0px 0px 2px; font-size: 13px; height: 22px; line-height: 22px; overflow: hidden; background: #F8F8F8; border: 0px solid #D3D3D3; background-position: right 2px center; width: 100%;}.form15 .sel-imul.act .sel-selected { background: #fff;}.form15 .sel-selected .sel-arraw { height: 23px; width: 30px; background: url(https://animalplace.org/wp-content/plugins/form-maker/images/09/01.png) 50% 50% no-repeat; position: absolute; top: 0px; right: 0px; padding: 0px;}.form15 .sel-imul:hover .sel-selected .sel-arraw { }.form15 .sel-imul.act .sel-selected .sel-arraw { }.form15 .sel-imul .sel-options { background: #fff; border: 1px solid #dbdbdb; border-top: none; position: absolute; width: inherit; display: none; z-index: 10; max-height: 200px; overflow-y: auto; overflow-x: hidden;}.form15 .sel-options .sel-option { padding: 3px 4px; font-size: 13px; border: 1px solid #fff; border-right: none; border-left: none; text-align: left;}.form15 .sel-options .sel-option:hover { border-color: #dbdbdb; cursor: pointer;}.form15 .sel-options .sel-option.sel-ed { background: #dbdbdb; border-color: #dbdbdb;}.form15 input[type=text]{ margin: 0px;}.form15 input[type=password]{ margin: 0px;}.form15 input[type=url]{ margin: 0px;}.form15 input[type=email]{ margin: 0px;}.form15 input.text{ margin: 0px;}.form15 input.title{ margin: 0px;}.form15 textarea{ margin: 0px;}.form15 select { margin: 0px;}.form15 .form-error { border-color: red !important;}.form15 .form-error:focus { border-color: red !important;}.form15 .wdform-field { display: table-cell; padding: 5px 0px;}.form15 .wdform-label-section{ text-align: left; display: table-cell;}.form15 .wdform-element-section { text-align: left; display: table-cell; min-width: 140px;}.form15 .file-upload input { position: absolute; visibility: hidden;}.form15 .file-upload-status { margin-left: 10px; max-width: 200px; font-weight: bold; font-size: 16px; color: #888; position: absolute; border-radius: 0px; height: 23px; padding-left: 5px; padding-right: 5px; white-space: nowrap; overflow: hidden; }.form15 .file-picker { width: 41px; height: 32px; background: url(https://animalplace.org/wp-content/plugins/form-maker/images/10/01/upload.png) no-repeat; display: inline-block;}.form15 .next-page div.wdform-page-button {color: #FFF;cursor: pointer;display: inline-block;height: 38px;line-height: 35px;background:url(https://animalplace.org/wp-content/plugins/form-maker/images/10/next.png) no-repeat right #013D7C;padding: 0px 36px 0 20px;vertical-align: middle;font-size: 18px;border-top-right-radius: 7px;border-bottom-right-radius: 7px;}.form15 .previous-page div.wdform-page-button {color: #A2A2A2;cursor: pointer;display: inline-block;height: 37px;line-height: 35px;background:url(https://animalplace.org/wp-content/plugins/form-maker/images/09/previous.png) no-repeat left #F1F1F1;padding: 0 20px 0 36px;vertical-align: middle;font-size: 18px;border-top-left-radius: 7px;border-bottom-left-radius: 7px;}.form15 .button-submit { color: #ffffff; cursor: pointer; display: inline-block; line-height: 35px; background: #013D7C; padding: 0px 20px; vertical-align: middle; font-size: 18px; min-width: 80px; min-height: 35px; font-family: Segoe UI; border: 1px solid transparent; margin: 5px;}.form15 .button-reset { color: #787878; cursor: pointer; display: inline-block; line-height: 35px; background: #F0EFEF; padding: 0px 20px; vertical-align: middle; font-size: 18px; min-width: 80px; min-height: 35px; font-family: Segoe UI; float: right; border: 1px solid transparent; margin: 5px;}.form15 .wdform_page { background: #FFFFFF; padding-top: 15px; border-radius: 0px; font-family: Segoe UI;}.form15 .wdform_column { border-right: none !important; padding-right: 50px !important; float: left; border-spacing: 2px; border-collapse: separate !important;}.form15 .wdform_section_break2 { color: #013D7C; display: inline-block; text-align: left; font-size: 23px;margin: 16px 10px 40px 0px;}.form15 .wdform_section_break { color: #013D7C; font-size: 23px;margin: 16px 0px;}.form15 .wdform_section { display: inline-block;}.form15 select { padding: 2px; height: 26px; border: 1px solid #B7B7B7;background: #F8F8F8;font-size: 14px !important;}.form15 input[type="text"]{ border-radius: 0px; height: 22px; padding:0 3px !important; background: #F8F8F8;border:1px solid #B7B7B7;font-size: 14px !important;}.form15 input[type="password"]{ border-radius: 0px; height: 22px; padding:0 3px !important; background: #F8F8F8;border:1px solid #B7B7B7;font-size: 14px !important;}.form15 textarea { border-radius: 0px; height: 22px; padding:0 3px !important; background: #F8F8F8;border:1px solid #B7B7B7;font-size: 14px !important;}.form15 input[type="text"]:focus{ outline: none;}.form15 input[type="password"]:focus{ outline: none;}.form15 textarea:focus{ outline: none;}.form15 select { outline: none;}.form15 .input_deactive { color: #999999; font-style: italic;}.form15 .input_active { color: #000000; font-style: normal;}.form15 .am_pm_select { width: 30px; vertical-align: middle;}.form15 .wdform-calendar-button, .form15.wdform-calendar-button:hover { display:inline-block; background: transparent url(https://animalplace.org/wp-content/plugins/form-maker/images/03/date.png) no-repeat !important; border: 0px; color: transparent; width: 22px; height: 22px; position: relative; left: -22px; vertical-align: top; outline: none;}.form15 .forlabs { float: right; margin-right: 20px;}.form15 .if-ie-div-label { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important; filter: alpha(opacity=100) !important; opacity: 1 !important;}.form15 .wdform-ch-rad-label { display: inline; margin: -4px 5px 5px 5px; float: left; color: #000; cursor: pointer}.form15 textarea { padding-top: 5px;}.form15 .wdform-date { display:inline-block; width: 105px}.form15 .wdform_footer { margin-top: 15px;}.form15 .page-numbers { vertical-align: middle;}.form15 .time_box { text-align: right; width: 30px; vertical-align: middle}.form15 .mini_label { font-size: 10px; font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif; color: #8A8A8A;}.form15 .wdform-label { border: none; color: #000; vertical-align: top; line-height: 17px;}.form15 .wdform_colon { color: #000}.form15 .wdform_separator { font-style: bold; vertical-align: middle; color: #000;}.form15 .wdform_line { color: #000}.form15 .wdform-required { border: none; color: red; vertical-align: top;}.form15 .captcha_img { border-width: 0px; margin: 0px; padding: 0px; cursor: pointer; border-radius: 0px;}.form15 .captcha_refresh { width: 30px; height: 30px; border-width: 0px; margin: 0px; padding: 0px; vertical-align: middle; cursor: pointer; background-image: url(https://animalplace.org/wp-content/plugins/form-maker/images/refresh_black.png);}.form15 .captcha_input { height: 20px; border-width: 1px; margin: 0px; padding: 0px; vertical-align: middle;}.form15 .file_upload { border: 0px solid white; border-radius: 0px; margin: 0px; padding: 0px; color: black; background-color: white;}.form15 .page_deactive {color: #013E7D;background-color: #FFF;cursor: pointer;display: inline-block;height: 29px;text-align: center;vertical-align: bottom;padding: 5px 25px 0px 25px;font-size: 16px;font-weight:bold;}.form15 .page_active {color: #FFF;cursor: pointer;background-color: #013E7D;display: inline-block;vertical-align: bottom;height: 29px;text-align: center;font-size: 20px;padding: 5px 25px 0px 25px;line-height: 26px;font-weight:bold;}.form15 .page_percentage_active {padding: 0px;margin: 0px;border-spacing: 0px;height: 16px;line-height: 16px;font-size: 15px;float: left;text-align: right !important;z-index: 1;position: relative;vertical-align: middle;background: #013E7F;color: #fff;border-top-left-radius: 5px;border-bottom-left-radius: 5px;}.form15 .page_percentage_deactive {height: 16px;line-height: 16px;background-color: #F1F1F1;text-align: left !important;margin-bottom: 1px;border-radius: 5px;}.form15 .page_numbers { font-size: 14px; color: #000;}.form15 .phone_area_code { width: 50px;}.form15 .phone_number { width: 100px;}.form15 button { cursor: pointer;}.form15 .other_input { border-radius: 0px; border-width: 1px; height: 16px; font-size: 12px; padding: 1px; margin: 1px; margin-left: 25px; z-index: 100; position: absolute;}.form15 .wdform_page_navigation { text-align: right !important;}.form15 .wdform_percentage_text {margin: 3px 5px 3px 9px;color: #FFF;font-size: 12px;}.form15 .wdform_percentage_title { color: #6E6E6E; font-style: italic; margin: 0px 0px 0px 40px; display: inline-block; line-height: 27px; height: 27px; vertical-align: middle;}.form15 .wdform_button button { background: #4D792C; cursor: pointer; font-size: 17px; border-radius: 0px; min-width: 80px; min-height: 31px; color: #fff; border: 2px solid #68943B; margin: 5px; box-shadow: 0px 0px 2px #c9c9c9; font-family: Segoe UI;}.form15 Name:* First Last E-mail:*Address:* Street AddressCityState / Province / RegionPostal / Zip CodeAfghanistanAlbaniaAlgeriaAndorraAngolaAntigua and BarbudaArgentinaArmeniaAustraliaAustriaAzerbaijanBahamasBahrainBangladeshBarbadosBelarusBelgiumBelizeBeninBhutanBoliviaBosnia and HerzegovinaBotswanaBrazilBruneiBulgariaBurkina FasoBurundiCambodiaCameroonCanadaCape VerdeCentral African RepublicChadChileChinaColombiaComorosCongo (Brazzaville)CongoCosta RicaCote d'IvoireCroatiaCubaCyprusCzech RepublicDenmarkDjiboutiDominicaDominican RepublicEast Timor (Timor Timur)EcuadorEgyptEl SalvadorEquatorial GuineaEritreaEstoniaEthiopiaFijiFinlandFranceGabonGambia, TheGeorgiaGermanyGhanaGreeceGrenadaGuatemalaGuineaGuinea-BissauGuyanaHaitiHondurasHungaryIcelandIndiaIndonesiaIranIraqIrelandIsraelItalyJamaicaJapanJordanKazakhstanKenyaKiribatiKorea, NorthKorea, SouthKuwaitKyrgyzstanLaosLatviaLebanonLesothoLiberiaLibyaLiechtensteinLithuaniaLuxembourgMacedoniaMadagascarMalawiMalaysiaMaldivesMaliMaltaMarshall IslandsMauritaniaMauritiusMexicoMicronesiaMoldovaMonacoMongoliaMoroccoMozambiqueMyanmarNamibiaNauruNepalNetherlandsNew ZealandNicaraguaNigerNigeriaNorwayOmanPakistanPalauPanamaPapua New GuineaParaguayPeruPhilippinesPolandPortugalQatarRomaniaRussiaRwandaSaint Kitts and NevisSaint LuciaSaint VincentSamoaSan MarinoSao Tome and PrincipeSaudi ArabiaSenegalSerbia and MontenegroSeychellesSierra LeoneSingaporeSlovakiaSloveniaSolomon IslandsSomaliaSouth AfricaSpainSri LankaSudanSurinameSwazilandSwedenSwitzerlandSyriaTaiwanTajikistanTanzaniaThailandTogoTongaTrinidad and TobagoTunisiaTurkeyTurkmenistanTuvaluUgandaUkraineUnited Arab EmiratesUnited KingdomUnited StatesUruguayUzbekistanVanuatuVatican CityVenezuelaVietnamYemenZambiaZimbabweCountryPhone:* Area Code - Phone Number Do you own, rent, or lease? His Facebook and Instagram pages will go on in his memory and we continue to rescue and adopt animals in his name. The Wineville Chicken Coop murders, [2] also known as the Wineville Chicken murders, [3] were a series of abductions and murders of young boys that occurred in the city of Los Angeles and in Riverside County, California between 1926 and 1928. . United Kingdom. :*How did you hear about Animal Place's adoption program? Our Rescue & Placement team continued the important work of finding safe homes for animals in need. This page contains only groups which help PET BIRDS. Free-range chicken fried up to perfection then placed on top of a hearty Belgian-style waffle. The rising popularity of backyard chickens has done little to quell the suffering of laying hens. ABOUT HEN HARBOR Located near Santa Cruz, California, Hen Harbor is a non-profit, 501 (c) (3) organization founded in 2012 to provide rescue, rehabilitation and rehoming of unwanted roosters and hens - particularly those rescued from the factory farming industry. 3'x5'), Fencing Height (e.g. 2023 by Happy Hen Animal Sanctuary, a 501(c)(3) Non Profit organization. What is the longest you have had a chicken live? Help all animals by adopting an animal free diet. Our mission is to make sure they can live out their whole lives, free of pain, suffering and hardship. Zoe was named Youth Activist of the Year by the National Animal Rights Conference in Washington DC and was awarded the Paul McCartney Veg Advocate Award. In a few short years the residential home soon became Granny Buds Farm, Chicken Rescue & Dog Hospice, with her family caring for a multitude of wild and domestic animals, using plant-based remedies. CNN A California animal sanctuary said it rescued 1,000 hens that were going to be euthanized from a struggling Iowa egg farm this weekend. These dogs come to SoCal Bulldog Rescue from animal shelters, other rescue groups, and owners who wish to surrender their purebred . Southern California Koi Rescue has provided free koi fish rescue and rehoming services since 2008. min_max_option[3] : 0; var range_max = min_max_option[4] ? Their egg production may decline in 1-3 years. upload_check_field : window['file_upload_check'+form_id]; jQuery.each( upload_check, function( wdid, upload_types ) { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).css("display") != "none") { ext_available=getfileextension(jQuery(element).val(), upload_types); if(!ext_available) { jQuery("#form"+form_id+" #wd_upload_type_"+wdid).remove(); x.find(jQuery("div[wdid='"+wdid+"'] .wdform-element-section")).append("
chicken rescue southern california
Can not upload this type of file
"); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label_upload"); find_wrong_type_upload = true; } else{ jQuery("#form"+form_id+" #wd_upload_type_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label_upload").removeClass("error_label_upload") } } }); if(!upload_check_field && find_wrong_type_upload === true){ scroll_on_element(form_id); } if(find_wrong_type_upload === false) return true; return false; } function wd_is_filled(form_id, field_id){ var x = jQuery("#form" + form_id); var req_fields = field_id ? Join us for the Meatout Meet up in March! Loyal, obedient, friendly, smart and hardworking, these dogs seem to have it all when you're searching for a new best friend. The adoption fee is $10 per chicken. The original location of Gus's chicken was the place where it all started in 1973. . Teen Rescue Inc Rescue Services 9 YEARS IN BUSINESS (951) 674-7030 Lake Elsinore, CA 92532 4. field_id.split() : window['required_fields'+form_id]; var not_filled = {}; jQuery(req_fields).each(function(index, wdid){ if(x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).css("display") != "none" ) { switch(window['labels_and_ids'+form_id][wdid]){ case 'type_text': case 'type_textarea': case 'type_paypal_price_new': case 'type_spinner': case 'type_number': case 'type_submitter_mail': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == jQuery(element).attr('title') || jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }); } break; } case 'type_own_select': case 'type_country': case 'type_paypal_select': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none"){ if(jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }).change(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); wd_is_filled(form_id, wdid); }); } break; } case 'type_phone': { var element = ["#wdform_" + wdid + "_element_first" + form_id, "#wdform_" + wdid + "_element_last" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == "" || jQuery(elem).val() == jQuery(elem).attr('title')){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_name': { var element = ["#wdform_" + wdid + "_element_title" + form_id, "#wdform_" + wdid + "_element_first" + form_id, "#wdform_" + wdid + "_element_last" + form_id, "#wdform_" + wdid + "_element_middle" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if((jQuery(elem).val() == "" || jQuery(elem).val() == jQuery(elem).attr('title')) && typeof jQuery(elem).val() != "undefined"){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_address': { var element = ["#wdform_" + wdid + "_street1" + form_id, "#wdform_" + wdid + "_street2" + form_id, "#wdform_" + wdid + "_city" + form_id, "#wdform_" + wdid + "_state" + form_id, "#wdform_" + wdid + "_postal" + form_id, "#wdform_" + wdid + "_country" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == "" && typeof jQuery(elem).val() != "undefined"){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_checkbox': case 'type_radio': case 'type_scale_rating': case 'type_paypal_checkbox': case 'type_paypal_radio': case 'type_paypal_shipping': { if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none"){ if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0 || jQuery("#wdform_"+ wdid +"_other_input" + form_id).val() == ""){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){ jQuery(this).change(function() { if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0 || jQuery("#wdform_"+ wdid +"_other_input" + form_id).val() == ""){ wd_is_filled(form_id, wdid); } else{ jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); } }); }); } break; } case 'type_star_rating': { var element = "#wdform_" + wdid + "_selected_star_amount" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == ""){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery("#wdform_" + wdid + "_element" + form_id).click(function(){ if(jQuery(element).val() != ""){ jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); } }); } break; } case 'type_range': { var element = ["#wdform_" + wdid + "_element" + form_id + "0", "#wdform_" + wdid + "_element" + form_id + "1"]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == ""){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_grading': { if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { var count_grading = 0; jQuery.each(jQuery("#wdform_" + wdid + "_element" + form_id + " input"), function( i, val ){ if(jQuery(this).val() != "") count_grading ++; }); if(count_grading == 0) not_filled[wdid] = true; } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#wdform_" + wdid + "_element" + form_id + " input"), function( i, val ){ jQuery(this).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); }); } break; } case 'type_slider': { var slider_element = "#wdform_" + wdid + "_element" + form_id; var element = "#wdform_" + wdid + "_slider_value" + form_id; var min_value = "#wdform_" + wdid + "_element_min" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == jQuery(min_value).html()){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(slider_element).slider({ change: function( event, ui ) { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); wd_is_filled(form_id, wdid); } }); } break; } case 'type_date': case 'type_date_new': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).change(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); wd_is_filled(form_id, wdid); }); } break; } case 'type_date_range': { var element = ["#wdform_" + wdid + "_element" + form_id + "0", "#wdform_" + wdid + "_element" + form_id + "1"]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == ""){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).change(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_date_fields': { var element = ["#wdform_" + wdid + "_day" + form_id, "#wdform_" + wdid + "_month" + form_id, "#wdform_" + wdid + "_year" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == ""){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }).change(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_time': { var element = ["#wdform_" + wdid + "_hh" + form_id, "#wdform_" + wdid + "_mm" + form_id, "#wdform_" + wdid + "_ss" + form_id]; jQuery(element).each(function(ind,elem){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(elem).val() == "" && typeof jQuery(elem).val() != "undefined"){ not_filled[wdid] = elem; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(elem).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).blur(function() { wd_is_filled(form_id, wdid); }); } }); break; } case 'type_password': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }); } break; } case 'type_file_upload': { var element = "#wdform_" + wdid + "_element" + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == jQuery(element).attr('title') || jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); }).change(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); wd_is_filled(form_id, wdid); }); } break; } case 'type_matrix': { if(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="radio" || jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="checkbox"){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){ jQuery(this).change(function() { if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0){ wd_is_filled(form_id, wdid); } else{ jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); } }); }); } } else if(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="text"){ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { var count_input_matrix = 0; jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){ if(jQuery(this).val() != "") count_input_matrix ++; }); if(count_input_matrix == 0) not_filled[wdid] = true; } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){ jQuery(this) .focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }) .blur(function() { wd_is_filled(form_id, wdid); }); }); } } else{ if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { var count_select_matrix = 0; jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] select"), function( i, val ){ if(jQuery(this).val() != "") count_select_matrix ++; }); if(count_select_matrix == 0) not_filled[wdid] = true; } if(!field_id && !window['check_submit'+form_id]){ jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] select"), function( i, val ){ jQuery(this).focus(function() { if(jQuery(this).val() == ""){ jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); } }).change(function() { wd_is_filled(form_id, wdid); }).blur(function() { wd_is_filled(form_id, wdid); }); }); } } break; } case 'type_send_copy': { if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery("div[wdid='"+ wdid +"'] input:checked").length == 0){ not_filled[wdid] = true; } } if(!field_id && !window['check_submit'+form_id]){ jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").change(function() { if(jQuery("div[wdid='"+ wdid +"'] input:checked").length == 0){ wd_is_filled(form_id, wdid); } else{ jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); } }); } break; } case 'type_captcha': case 'type_arithmetic_captcha':{ var element = ""; if(window['labels_and_ids'+form_id][wdid] == 'type_captcha') element = '#wd_captcha_input' + form_id; else element = '#wd_arithmetic_captcha_input' + form_id; if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") { if(jQuery(element).val() == ""){ not_filled[wdid] = element; } } if(!field_id && !window['check_submit'+form_id]){ jQuery(element).focus(function() { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label"); }).blur(function() { wd_is_filled(form_id, wdid); }); } break; } } } }); if(Object.keys(not_filled).length === 0 && Object.keys(window["check_before_submit" + form_id]).length === 0){ return true; } else { if(Object.keys(not_filled).length !== 0){ jQuery.each( not_filled, function( wdid, elem ) { jQuery("#form"+form_id+" #wd_required_"+wdid).remove(); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-element-section:first").append("Field is required
"); jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label"); }); } if(!field_id){ scroll_on_element(form_id); } window['check_submit'+form_id] = 1; return false; } } function scroll_on_element(form_id){ var parent_div = jQuery("#form" + form_id + " .fm-not-filled")[0].closest(".wdform_row"); var body_hight = document.body.clientHeight; var element_offset = jQuery(jQuery("#form" + form_id + " .fm-not-filled")[0]).offset().top; var scrollChecker = function() { if(document.body.clientHeight !== body_hight ){ body_hight = document.body.clientHeight; element_offset = jQuery(jQuery("#form" + form_id + " .fm-not-filled")[0]).offset().top; jQuery('html body').stop(); animateBodyToError(); } }; jQuery(window).on("scroll",scrollChecker); function animateBodyToError(){ jQuery('html body').animate({ scrollTop: element_offset - 150 }, 500, function(){ jQuery(window).off("scroll", scrollChecker); old_bg=jQuery(parent_div).css("background-color"); jQuery(parent_div).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false }); }); } animateBodyToError(); } function wd_check_regExp(form_id, regExpObj){ var x = jQuery("#form" + form_id); var find_wrong_exp = false; var check_regExp = regExpObj ?