angularjs - Validation on text on alphabets enter -


Anyone uses AngulerJS authentication on the text box, so only enter the characters.

Based on what you want:

letters and spaces: < / P>

  ng-pattern = "/ ^ [a-zA-z \ s] * $ /"   

Letters are not spaces:

  ng-pattern = "/ ^ [a-zA-Z] * $ /"    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -