# Required form field notification not working on 4.4.8

**URL:** <https://forum.mautic.org/t/required-form-field-notification-not-working-on-4-4-8/28086>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [May 20, 2023, 2:08pm UTC](https://forum.mautic.org/t/required-form-field-notification-not-working-on-4-4-8/28086 "2023-05-20T14:08:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lexgabrees](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lexgabrees/32/4467_2.png) [@lexgabrees](https://forum.mautic.org/u/lexgabrees)\
**Post date:** [May 20, 2023, 2:08pm UTC](https://forum.mautic.org/t/required-form-field-notification-not-working-on-4-4-8/28086/1 "2023-05-20T14:08:55Z")

</div>

When I press the submit button, and have the form fields empty, the browser does not give me that yellow ‘required’ field notification.

This is a new install of Mautic 4.4.8. I’ve also included an error message from the developer tools …

The form itself works fine, and the contact is saved in the DB without issues.

Anyone know why or have an idea what’s going on here ?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/fae51c21856289088f59287178bcc7c50e5d17db.png)

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [May 20, 2023, 2:49pm UTC](https://forum.mautic.org/t/required-form-field-notification-not-working-on-4-4-8/28086/2 "2023-05-20T14:49:10Z")

</div>

Hi @lexgabrees, the error doesn’t really fit to the described situation. Could you please check if the mautic-form.js is indeed available in media/js/ ?

We had this with brand new installations via composer as well. We couldn’t find out, why sometimes files where missing in an installation.

---

<div class="post-metadata">

**Author:** ![lexgabrees](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lexgabrees/32/4467_2.png) [@lexgabrees](https://forum.mautic.org/u/lexgabrees)\
**Post date:** [May 20, 2023, 3:39pm UTC](https://forum.mautic.org/t/required-form-field-notification-not-working-on-4-4-8/28086/3 "2023-05-20T15:39:42Z")

</div>

Hey Dirk … Yes, the file definitely there … I’m running on nginx, but other files in that same folder are accessible … So that might exclude an issue with nginx locations …

---

<div class="post-metadata">

**Author:** ![lexgabrees](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lexgabrees/32/4467_2.png) [@lexgabrees](https://forum.mautic.org/u/lexgabrees)\
**Post date:** [May 20, 2023, 5:43pm UTC](https://forum.mautic.org/t/required-form-field-notification-not-working-on-4-4-8/28086/4 "2023-05-20T17:43:51Z")

</div>

For anybody seeing these issues, this was my fix:

I had a wordpress plugin installed called ‘autoptimize’ … It minifies JS and things such as defer.

Disabling the plugin removes the errors. (makes sense, since it was all js related).

So, now I’ll either have to change the settings of this plugin, or just disable it…
