Hi, I believe you can override the function in your theme. In my case, I insert the Form shortcode by do_shortode() function, so I insert the overriden function directly after it and it works. So in my footer.php, the block of code looks like this:
<?php echo do_shortcode('[contact-form-7 id="8" title="Footer Contact Form"]'); ?>
<script type="text/javascript">
jQuery(function($) {
$.fn.wpcf7NotValidTip = function(message) {
return this.each(function() {
var into = $(this);
into.append('<span class="wpcf7-not-valid-tip">' + message + '</span>');
into.find(':input').focus(function() {
into.find('.wpcf7-not-valid-tip').not(':hidden').hide();
});
});
};
});
</script>
Hope it helps.