Is it possible to restrict the use of certain characters at name entry?

I want to have certain character restrictions when the player inputs their name. Can this only be done in script? For example, no spaces, and only alphanumeric characters.
I've moved this thread to Script Request. Please be sure to post your threads in the correct forum next time. Thank you.



Yes, this can only be done with a script.


Please give the full list of the letters you want allowed only, a scripter needs this for making the script.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-restrict-the-use-of-certain-characters-at-name-entry.68770/