# How do i hide the error message box for empty fields?

**URL:** <https://devforum.okta.com/t/how-do-i-hide-the-error-message-box-for-empty-fields/25330>\
**Category:** Questions\
**Created:** [September 17, 2023, 7:32pm UTC](https://devforum.okta.com/t/how-do-i-hide-the-error-message-box-for-empty-fields/25330 "2023-09-17T19:32:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirannambiar](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kirannambiar](https://devforum.okta.com/u/kirannambiar)\
**Post date:** [September 17, 2023, 7:32pm UTC](https://devforum.okta.com/t/how-do-i-hide-the-error-message-box-for-empty-fields/25330/1 "2023-09-17T19:32:18Z")

</div>

When I leave the username or password field empty and click on submit the okta sign in widget throws an error box saying

We found some errors. Please review the form and make corrections. How do i hide this?

I tried by setting oform.errorbanner.title = ‘’, but now the error message box gives a weird messaging something like this

L10N\_ERROR[oform.errorbanner.title]

Attaching screenshot for reference.

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/3/3b1dbccf530032123166317c8e1794dac6120f7b.png)

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/5/55da7e4a3e51bbb5b50d0978d6f7fe93a7c9afdc.png)

---

<div class="post-metadata">

**Author:** ![erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@erik](https://devforum.okta.com/u/erik)\
**Post date:** [September 17, 2023, 11:18pm UTC](https://devforum.okta.com/t/how-do-i-hide-the-error-message-box-for-empty-fields/25330/2 "2023-09-17T23:18:44Z")

</div>

Hello,

The `L10N_ERROR` will be displayed when an i18n message is overridden that should contain a place holder for a variable to be substituted into, but the custom message does not define this place holder.

See,  
[https://support.okta.com/help/s/article/l10n-error-message-on-password-expiring-page?language=en\_US](https://support.okta.com/help/s/article/l10n-error-message-on-password-expiring-page?language=en_US)

thank you,

---

<div class="post-metadata">

**Author:** ![kirannambiar](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kirannambiar](https://devforum.okta.com/u/kirannambiar)\
**Post date:** [September 18, 2023, 6:05am UTC](https://devforum.okta.com/t/how-do-i-hide-the-error-message-box-for-empty-fields/25330/3 "2023-09-18T06:05:19Z")

</div>

So basically what i am trying to do is, setting oform.errorbanner.title to empty string so that the error message doesn’t show up. Are you saying we can’t do that?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 16, 2024, 12:45am UTC](https://devforum.okta.com/t/how-do-i-hide-the-error-message-box-for-empty-fields/25330/4 "2024-02-16T00:45:41Z")

</div>


