Title: JavaScript
Last modified: October 13, 2026

---

# JavaScript

 *  Resolved [dmfw](https://wordpress.org/support/users/dmfw/)
 * (@dmfw)
 * [1 week, 5 days ago](https://wordpress.org/support/topic/javascript-49/)
 * My website is now live: [https://datingmojoforwomen.com/contact/](https://datingmojoforwomen.com/contact/)
 * I’m using WPForms Lite with the Astra theme on Hostinger, with LiteSpeed Cache
   enabled. The Contact page displays a JavaScript-related warning, although the
   form works and test submissions reach the intended inbox.
 * During troubleshooting, we checked the form’s appearance and functionality, changed
   the WPForms styling setting, and purged the cache. SMTP is authenticated, and
   we adjusted Hostinger’s spam filtering while troubleshooting email receipt. Test
   emails were received successfully.
 * The website has since been migrated from staging to the live domain, but the 
   JavaScript warning remains. I’d like to identify its cause and resolve it while
   preserving the working form.
 * Could you advise which browser-console errors, WPForms settings, or LiteSpeed
   settings you need me to provide?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-49%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 week, 4 days ago](https://wordpress.org/support/topic/javascript-49/#post-19045048)
 * Hi [@dmfw](https://wordpress.org/support/users/dmfw/) ,
 * Thanks for reaching out and for the detailed notes 🙂
 * I checked your Contact page, and WPForms itself is loading fine, which is why
   your test submissions are coming through.
 * The issue is that an optimization setting is removing a couple of small pieces
   of the form’s code. That’s why the “Please enable JavaScript” message shows even
   though JavaScript is working.
 * It’s also why an extra field appears above Comment or Message. That extra field
   is a hidden anti-spam field, and if a visitor fills it in, their submission will
   be blocked as spam.
 * Since you’re using LiteSpeed Cache, please follow our guide on [configuring LiteSpeed Cache for WPForms](https://wpforms.com/docs/configuring-optimization-settings-for-wpforms-in-litespeed-cache/),
   then purge all cache and check the page again.
 * Let us know how it goes!
 *  Plugin Support [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * (@amjadali688)
 * [6 days, 1 hour ago](https://wordpress.org/support/topic/javascript-49/#post-19049281)
 * Hi [@dmfw](https://wordpress.org/support/users/dmfw/) ,
 * 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-49%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - AI Form Builder for WordPress - Contact Forms, Payment Forms, Survey Form, Quiz & 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/)

## Tags

 * [java-script](https://wordpress.org/support/topic-tag/java-script/)

 * 2 replies
 * 2 participants
 * Last reply from: [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * Last activity: [6 days, 1 hour ago](https://wordpress.org/support/topic/javascript-49/#post-19049281)
 * Status: resolved