# Make a rule to not allow the ? character in the password field

**URL:** <https://community.auth0.com/t/make-a-rule-to-not-allow-the-character-in-the-password-field/89750>\
**Category:** Get Help\
**Created:** [August 31, 2022, 7:59am UTC](https://community.auth0.com/t/make-a-rule-to-not-allow-the-character-in-the-password-field/89750 "2022-08-31T07:59:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Totodile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/totodile/32/12714_2.png) [@Totodile](https://community.auth0.com/u/Totodile)\
**Post date:** [August 31, 2022, 7:59am UTC](https://community.auth0.com/t/make-a-rule-to-not-allow-the-character-in-the-password-field/89750/1 "2022-08-31T07:59:42Z")

</div>

Hello everyone.

I wonder if it’s possible to create a rule in order to not allow users to fill their password with the ‘?’ character. How can I implement it? I just want them to not be able to insert that special character and if they do, alert them with a message.  
Another question I have is that, if I change that policy, Will old users have a problem if they already have a password with that character?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 31, 2022, 10:24pm UTC](https://community.auth0.com/t/make-a-rule-to-not-allow-the-character-in-the-password-field/89750/3 "2022-08-31T22:24:46Z")

</div>

Hi @Totodile,

FYI, I moved this topic out of our feedback category because it is a support question.

> [@Totodile](#):
>
> I wonder if it’s possible to create a rule in order to not allow users to fill their password with the ‘?’ character.

You cannot specifically limit the `?` character.

> [@Totodile](#):
>
> Will old users have a problem if they already have a password with that character?

No, existing passwords are not affected by password policy changes. Users will be able to log in with their existing passwords.

---

<div class="post-metadata">

**Author:** ![Totodile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/totodile/32/12714_2.png) [@Totodile](https://community.auth0.com/u/Totodile)\
**Post date:** [September 1, 2022, 6:10am UTC](https://community.auth0.com/t/make-a-rule-to-not-allow-the-character-in-the-password-field/89750/4 "2022-09-01T06:10:00Z")

</div>

Hi @dan.woda .

Thank you for your answer.  
Is there an option to, at least, put a message in the log-in page advising users not to fill that character?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 2, 2022, 5:27pm UTC](https://community.auth0.com/t/make-a-rule-to-not-allow-the-character-in-the-password-field/89750/5 "2022-09-02T17:27:08Z")

</div>

You can customize New Universal Login Prompt texts using this:

> **[Customize New Universal Login Text Prompts](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts)**
>
> Learn how to customize text prompts using the API for the New Universal Login Experience.

Because I’m curious, why do you want to exclude that character?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 30, 2022, 11:04pm UTC](https://community.auth0.com/t/make-a-rule-to-not-allow-the-character-in-the-password-field/89750/6 "2022-09-30T23:04:00Z")

</div>


