WordPress.org

Forums

Contact Form 7
Show, then hide form on e-mail submit (2 posts)

  1. hrrubin
    Member
    Posted 1 year ago #

    On my website I have a contact form 7 attached to a div near the top bar with a contact button above.

    Right now, it's visible so you can see it, but I want it to appear, when I push the button and go away when the user have succesfully send the message, with a small delay.

    How do I do this?

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

  2. hrrubin
    Member
    Posted 1 year ago #

    Okay, so the core animation works on the toggle button. I still want the auto-close on succesful submit.

    $(document).ready(function(){
    	$("#contactform").hide();
    	$("#plus").show();
    		$('#plus li').click(function(){
    		$("#contactform").slideToggle(300);
        });
    });

    Any help is much appreciated.

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