WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Plugin: Contact Form 7] Validation error fade similar to not valid tip?

[Plugin: Contact Form 7] Validation error fade similar to not valid tip?

  • Apologies if this has been covered and resolved, I tried to search for it but couldn’t find an answer.

    Q: Is it possible to give the validation error the same fade away effect as when the not-valid tips are rolled over?

    I found this in the scripts.js file on line 142, and am assuming it holds the key to what I’m asking:


    $.fn.wpcf7NotValidTip = function(message) {
    return this.each(function() {
    var into = $(this);
    into.append('<span class="wpcf7-not-valid-tip">' + message + '</span>');
    $('span.wpcf7-not-valid-tip').mouseover(function() {
    $(this).fadeOut('fast');
    });
    into.find(':input').mouseover(function() {
    into.find('.wpcf7-not-valid-tip').not(':hidden').fadeOut('fast');
    });
    into.find(':input').focus(function() {
    into.find('.wpcf7-not-valid-tip').not(':hidden').fadeOut('fast');
    });
    });
    };

    Any help appreciated.

    http://wordpress.org/extend/plugins/contact-form-7/

  • The topic ‘[Plugin: Contact Form 7] Validation error fade similar to not valid tip?’ is closed to new replies.
Skip to toolbar