Editable Text special character limiter

I have an editable text that gets the player input and checks if a special character was inputed. I’m now trying to set that if a special character is in the editable text, it would not be allowed to be inputed again. (e.g. I placed % and it was detected, how can I like disable the button for the % sign so that when a user tries to input it again, it will not register) Thanks in advance!

You could check the input string every time it is updated. If you find any symbols you don’t like - remove them. To the player it will look like the button doesn’t even work.