$('#inputs input, #inputs textarea').not('.wpcf7-submit').each(function() {
	$(this).data('value', $(this).val());
}).focus(function() {
	if (!$(this).hasClass('focused')){
		$(this).val('').addClass('focused');
	}
}).blur(function() {
	if ($(this).val()==''){
		$(this).val($(this).data('value')).removeClass('focused');
	}
});
$('form').submit(function() {
        $('.wpcf7-validates-as-required').each(function() {if (!$(this).hasClass('focused')) {$(this).val('')}});
});

