Contact Us

$(".content-form-submit").click(function(){ if (grecaptcha.getResponse()) { var name = $(".name").val(); var email = $(".email").val(); var country1 = $(".country1").val(); var country2 = $(".country2").val(); var textarea = $(".contact-form-textarea").val(); if( name == "" || email == "" || country == "" || subject == "" || textarea ){ if( name == ""){ $(".name").addClass('error-message-placehoder'); $(".name").attr("placeholder" , "Enter your name"); return false; } if( country1 == "" && country2 ){ $(".select2-selection__placeholder").css('color' , "#660000"); return false; } if( email == ""){ $(".email").addClass('error-message-placehoder'); $(".email").attr("placeholder" , "Enter your email"); return false; } if( subject == ""){ $(".subject").addClass('error-message-placehoder'); $(".subject").attr("placeholder" , "Enter the subject of your message"); return false; } if( textarea == ""){ $(".contact-form-textarea").addClass('error-message-placehoder'); $(".contact-form-textarea").attr("placeholder" , "What can we help you with today?"); return false; } } }else{ return false; } });