It seems we can’t find what you’re looking for. Perhaps searching can help.
// If file upload field is empty: remove. Otherwise it will not submit in Safari 11.1.1
jQuery(".wpcf7-submit").on('click', function(){
//alert("Clicked");
jQuery("input[type=file]").each(function() {
if(jQuery(this).val() === "") {
//alert(jQuery(this).attr("name"));
jQuery(this).prop('disabled', true);
}
});
})