Support » Plugin: Contact Form 7 » hide success message after submit

  • Hi

    i want hide the success message after a little delay,
    what is suggested here :
    http://tulsawebresults.com/solved-how-to-hide-the-success-message-from-contact-form-7
    it’s not working for me, i’ve tried in this way

    on_sent_ok: "$('.wpcf7-mail-sent-ok').ajaxComplete(function() {$(this).delay(1000).fadeOut('slow');});"

    and with

    on_sent_ok: "$('.wpcf7-response-output').ajaxComplete(function(){this.delay(1000).fadeOut('slow');});"

    and both don’t work
    if i use this

    on_sent_ok: "document.getElementByClassName('wpcf7-response-output').style.display = 'none';"

    the message is hidden and i dont show anything, and that’s is not what i want, i need a little delay before disappear

    What can i do?
    Thank you 🙂

    https://wordpress.org/plugins/contact-form-7/

    [Moderator Note: No bumping, thank you.]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hide success message after submit’ is closed to new replies.