How can i set a limit to my text input object?

i cant set a text limit to my text entery object,
i tried every thing i fount on the internet and nothing worked

thank you , I will try this tomorrow

thank u very very much