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

mysql - where clause in inner join query -

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

php - MySQL Query for Advanced Search multiple criteria -