title: Text box validation
body: <p>I am using many text boxes in a form. 
  How do i validate them,
  In certain text boxes I have to use only text and in some I have to use only numbers. 
  Is using ASCII is a right method or is there any easier method to do this. If so please let me know the coding.</p>