WordPress.org

Forums

Contact Form 7
hide success message after submit (4 posts)

  1. Soulcyber
    Member
    Posted 1 year ago #

    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.]

  2. hfall
    Member
    Posted 1 year ago #

    Same here!

  3. Soulcyber
    Member
    Posted 1 year ago #

    no solution yet?

    Pls help guys :(

  4. buzztone
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic