Title: Loading icon when message is sent
Last modified: February 18, 2021

---

# Loading icon when message is sent

 *  [enersoste](https://wordpress.org/support/users/enersoste/)
 * (@enersoste)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/loading-icon-when-message-is-sent/)
 * Hello,
 * I have a problem with my contact form. It works properly, but when you complete
   the form and click the submit button, a loading icon appears and it never ends,
   instead of appearing a thank you message.
 * The sender does receive an email in his email inbox and I can recieve his messages.
 * Thank you in advance for your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Floading-icon-when-message-is-sent%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/loading-icon-when-message-is-sent/#post-14069263)
 * What other plugins and theme do you use on the site?
 *  [dlorente](https://wordpress.org/support/users/dlorente/)
 * (@dlorente)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/loading-icon-when-message-is-sent/#post-14069381)
 * Hello, I have the same problem.
    the theme is Divi and uninstall all non-basic
   plugins everything worked fine until recently
 *  Thread Starter [enersoste](https://wordpress.org/support/users/enersoste/)
 * (@enersoste)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/loading-icon-when-message-is-sent/#post-14072401)
 * Hello,
 * The theme is Agama Pro and pages are built with WP Bakery Page Builder plugin.
 * Thanks!
 *  [dlorente](https://wordpress.org/support/users/dlorente/)
 * (@dlorente)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/loading-icon-when-message-is-sent/#post-14081831)
 * The solution that worked for me was to add the following line of code to the 
   functions.php of my theme to deactivate the Ajax loading of the form
    add_filter(‘
   wpcf7_load_js’, ‘__return_false’ );
 *  Thread Starter [enersoste](https://wordpress.org/support/users/enersoste/)
 * (@enersoste)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/loading-icon-when-message-is-sent/#post-14082750)
 * Thank you [@dlorente](https://wordpress.org/support/users/dlorente/). I tried
   adding the code, but it didn’t work for my theme, appearing the following advise:
 * Warning: Use of undefined constant ‘wpcf7_load_js’ – assumed ‘‘wpcf7_load_js’’(
   this will throw an Error in a future version of PHP) in /homepages/44/d528594803/
   htdocs/clickandbuilds/Enersoste/wp-content/themes/agama-pro/functions.php on 
   line 42
 * Warning: Use of undefined constant ‘__return_false’ – assumed ‘‘__return_false’’(
   this will throw an Error in a future version of PHP) in /homepages/44/d528594803/
   htdocs/clickandbuilds/Enersoste/wp-content/themes/agama-pro/functions.php on 
   line 42
 *  Thread Starter [enersoste](https://wordpress.org/support/users/enersoste/)
 * (@enersoste)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/loading-icon-when-message-is-sent/#post-14165257)
 * Hello, the problem persists. Any other idea? Thank you very much.

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

The topic ‘Loading icon when message is sent’ 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
 * 3 participants
 * Last reply from: [enersoste](https://wordpress.org/support/users/enersoste/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/loading-icon-when-message-is-sent/#post-14165257)
 * Status: not resolved