Title: @plugin creators
Last modified: December 11, 2024

---

# @plugin creators

 *  Resolved [Padaben](https://wordpress.org/support/users/padaben/)
 * (@padaben)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-creators/)
 * Hi, how are you ? 
   it is a very great plugin I’ve been using since early days.
   I really like the simple way to handle forms.Nevertheless, I still don’t understand
   why there’s not an easy way to hide the form after submit.sent BUT leaving the
   output message visible ! it is not clear to me that this, is still not working!
   hours and hours and hours trying do resolve this since years and even with chat
   GPT I do loose my mind in this .Please move the wpcf7-response-output out of 
   the form ! this would resolve everything in this need. so easy… this makes the
   UxUi for visitors not good ! and a headhache for a lot of people.and I precise
   I am not a beginner, 15+ years with wordpress. still can’t figure out why, but
   I keep using the plugin.thank you for reading and understanding.still lot of 
   gratitude.hope to read from you

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-creators/#post-18192684)
 * I’m not the author of this plugin, but it can easily be done with some javascript:
 *     ```wp-block-code
       <script>  document.addEventListener( 'wpcf7mailsent', function( event ) {    document.querySelectorAll("form.wpcf7-form > :not(.wpcf7-response-output)").forEach(el => {      el.style.display = 'none';    });  }, false );</script>
       ```
   
 * Source: [https://bdwm.be/contact-form-7-hide-form-after-successfully-sent/](https://bdwm.be/contact-form-7-hide-form-after-successfully-sent/)
 *  Thread Starter [Padaben](https://wordpress.org/support/users/padaben/)
 * (@padaben)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-creators/#post-18192990)
 * Hi, thank you, sorry, but I tried this several times 
   can’t make it work into
   child theme functions.php[https://www.benjaminbossu.com/contact-benjamin/](https://www.benjaminbossu.com/contact-benjamin/)
 *     ```wp-block-code
       add_action('wp_footer', 'custom_wpcf7_hide_form');function custom_wpcf7_hide_form() {    ?>    <script type="text/javascript">               document.addEventListener( 'wpcf7mailsent', function( event ) {            document.querySelectorAll("form.wpcf7-form > :not(.wpcf7-response-output)").forEach(el => {              el.style.display = 'none';            });          }, false );        </script>    <?php    }
       ```
   
 * thank you
 *  [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-creators/#post-18195252)
 * You have another problem you need to fix first. Your page is reloading when you
   submit the form. See: [https://contactform7.com/why-isnt-my-ajax-contact-form-working-correctly/](https://contactform7.com/why-isnt-my-ajax-contact-form-working-correctly/)
 *  Thread Starter [Padaben](https://wordpress.org/support/users/padaben/)
 * (@padaben)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-creators/#post-18195262)
 * True !
   mostly I do delete the css from loading and add the lines to my childtheme/
   style.cssand I do try to load the js only when needed. I’ll check with default
   theme and see.I’ll let you know,thank you
 *  Thread Starter [Padaben](https://wordpress.org/support/users/padaben/)
 * (@padaben)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-creators/#post-18208210)
 * (@jules-colle) thank you ! 
   the page not reloading has fixed the thing ! awesomeHave
   a nice day
 *  [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-creators/#post-18208216)
 * Thank you for reporting back.
 * Have a nice day, yourself!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘@plugin creators’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-creators/#post-18208216)
 * Status: resolved