How can I set minimum limit of characters in a text box?