Title: Javascript issue oncontact form
Last modified: April 25, 2026

---

# Javascript issue oncontact form

 *  Resolved [axiom28](https://wordpress.org/support/users/axiom28/)
 * (@axiom28)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/javascript-issue-oncontact-form/)
 * Hello
   On the contacts page of this website, I am getting this error message displayed
   just over the contact form:Heads up! WPForms has detected an issue with JavaScript
   on this page. JavaScript is required for this form to work properly, so this 
   form may not work as expected. See our troubleshooting guide to learn more or
   contact support.
 * This message is only displayed to site administrators.
 * What does this mean and how do I fix?
 * PS. Please update your form validation, my address [ian@thetaware.co.za](https://wordpress.org/support/topic/javascript-issue-oncontact-form/ian@thetaware.co.za?output_format=md)
   is not recognised, it is a valid South African domain.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-issue-oncontact-form%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * (@amjadali688)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/javascript-issue-oncontact-form/#post-18892404)
 * Hi [@axiom28](https://wordpress.org/support/users/axiom28/) ,
   Thanks for reaching
   out!The JavaScript-related warning you’re seeing is usually caused by cache or
   optimization plugins. I checked your site and noticed you’re using the WP-Optimize
   cache plugin, which can sometimes minify or defer scripts in a way that affects
   WPForms.To resolve this, please try the following:Go to** WP-Optimize → Minify
   → JavaScript** and disable the **“Enable minification of JavaScript files” **
   option, as you can see in this screenshot: [https://quicksnip.com/s/nqcybmf6jkv4dp0](https://quicksnip.com/s/nqcybmf6jkv4dp0).
   Save the settings, clear your site cache, and then check the form again.If the
   issue still persists, you can exclude the WPForms script from optimization by
   adding this path in the **“Exclude JavaScript from processing”** field:`/wp-content/
   plugins/wpforms/assets/js/frontend/wpforms.min.jsThese steps usually resolve 
   JavaScript-related issues like the one you’re seeing. For more details, you can
   also read this article: [https://wpforms.com/docs/how-to-troubleshoot-javascript-issues-in-wpforms/](https://wpforms.com/docs/how-to-troubleshoot-javascript-issues-in-wpforms/)
   Regarding the email validation, it looks like this is related to our email suggestions
   feature, which can sometimes flag certain domains.You can disable this feature
   in two ways:**Disable per formOpen your form in the WPForms builder, click on
   the Email field, go to the Advanced tab, and turn off the email suggestions option.
   Here’s a screenshot for reference: [https://a.supportally.com/i/uziQsV](https://a.supportally.com/i/uziQsV)
   Disable site-wide via custom codeYou can use this snippet: [https://library.wpcode.com/snippet/j57ry6og/](https://library.wpcode.com/snippet/j57ry6og/)
   Add it using WPCode or any code insertion method you prefer.For more details 
   on adding custom code, you can check this guide: [https://wpforms.com/developers/how-to-add-custom-php-or-javascript-for-wpforms/](https://wpforms.com/developers/how-to-add-custom-php-or-javascript-for-wpforms/)
   Hope this helps!
 *  Plugin Support [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * (@amjadali688)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/javascript-issue-oncontact-form/#post-18894693)
 * Hi [@axiom28](https://wordpress.org/support/users/axiom28/) ,
 * We haven’t heard back from you in a few days, so I’m going to go ahead and close
   this thread for now. But if you’d like us to assist further, please feel welcome
   to continue the conversation.
 * Thanks!

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-issue-oncontact-form%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * Last activity: [1 month, 1 week ago](https://wordpress.org/support/topic/javascript-issue-oncontact-form/#post-18894693)
 * Status: resolved