How can I add constraints while adding a text?

Sir Sometimes, It is written like You can write upto 200 characters. How to achieve in this.