title: How to restrict user to type in textfield after typing some characters
body: <p>I am using textfield in my application and I want to restrict user typing only 15 characters in the textfield. After that he/she <strong>should not be able to type</strong> in the textfield.</p>
  
  <p>How can I set this kind of functionality?</p>