# Embedded Signin Widget Input Error Messaging

**URL:** <https://devforum.okta.com/t/embedded-signin-widget-input-error-messaging/28406>\
**Category:** Questions\
**Tags:** widget\
**Created:** [May 22, 2024, 1:30pm UTC](https://devforum.okta.com/t/embedded-signin-widget-input-error-messaging/28406 "2024-05-22T13:30:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neslamloo](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@neslamloo](https://devforum.okta.com/u/neslamloo)\
**Post date:** [May 22, 2024, 1:30pm UTC](https://devforum.okta.com/t/embedded-signin-widget-input-error-messaging/28406/1 "2024-05-22T13:30:06Z")

</div>

I’m using the Embedded Sign-In Widget on our website and need to configure different error messages for the username and password fields during the account creation flow.

The only option I’ve found in the [login.properties file](https://github.com/okta/okta-signin-widget/blob/master/packages/%40okta/i18n/src/properties/login.properties) is `model.validation.field.blank`, which applies to all inputs when left blank.

Is there a way to customize error messages specifically for the username and password fields? Any guidance or examples would be greatly appreciated!

![Screenshot 2024-05-22 at 6.23.21 AM](https://global.discourse-cdn.com/oktadev/original/2X/d/dcc73c43462c519531ff7daef1f35b30b49747b1.png)

---

<div class="post-metadata">

**Author:** ![andrew1](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@andrew1](https://devforum.okta.com/u/andrew1)\
**Post date:** [June 7, 2024, 1:48pm UTC](https://devforum.okta.com/t/embedded-signin-widget-input-error-messaging/28406/2 "2024-06-07T13:48:20Z")

</div>

Hi,

It looks like this is not achievable with the i18n properties. You might want to look into using [afterRender](https://github.com/okta/okta-signin-widget?tab=readme-ov-file#afterrender) to achieve this.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [July 7, 2024, 1:48pm UTC](https://devforum.okta.com/t/embedded-signin-widget-input-error-messaging/28406/3 "2024-07-07T13:48:40Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
