// INITIALISATION jQuery(".sendForm").each(function(){ form = jQuery(this).closest("form"); form.prepend(''); //form.find("input:not(:radio, :checkbox, .hidden), textarea").each(function(){ // required = ""; if (jQuery(this).hasClass("required") || jQuery(this).prop("required")){required = ' class="required"'; jQuery(this).removeClass("required");} // if (!jQuery(this).attr("type")){jQuery(this).attr("type", "text");} // jQuery(this).wrap("