Textbox: Set Max Characters

How do you set the maximum characters allowed in a textbox?

I did this using OnTextChanged event and using GetSubstring to limit the number of characters:

1 Like

thankyou !

Thank you!!!

Just perfect, thank you!

I know it’s an old post but google brought me here, the links are wrong, they redirect you to other discussions that have nothing to do with this topic. So I can’t see the screenshots you posted.

The forums underwent a massive change some time ago, things got jumbled here and there. Recently the Answer Hub migrated over, making things somewhat fuzzy.


How do you set the maximum characters allowed in a textbox?

It was probably something along the lines of:

4 Likes

Thank you bro…there WAS a clamptext function in UE4 idk what happened to it