!function(e){var t=function(){e(".gform_wrapper .gf-add-placeholder").find("input, textarea").filter(function(){e(this);if("INPUT"==this.nodeName){var t=this.type;return!("hidden"==t||"file"==t||"radio"==t||"checkbox"==t)}return!0}).each(function(){var t=e(this),r=this.id,l=e("label[for="+r+"]").hide(),i=l.last().text();i.length>0&&"*"==i[i.length-1]&&(i=i.substring(0,i.length-1)+" *"),t[0].setAttribute("placeholder",i)});var t=!("placeholder"in document.createElement("input"));t&&jquery_placeholder_url&&e.ajax({cache:!0,dataType:"script",url:jquery_placeholder_url,success:function(){e("input[placeholder], textarea[placeholder]").placeholder({blankSubmit:!0})},type:"get"}),e(".gform_wrapper .gf-add-placeholder").find("select").filter(function(){var t=e(this);t.each(function(){var t=this.id,r="#"+t,l=e("label[for="+t+"]").text();console.log("The id for this field is "+t+" the label for this field is "+l),e(r).prepend(""),e("label[for="+t+"]").hide()})})};e(document).ready(function(){t(),e(document).bind("gform_post_render",t)})}(jQuery);