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 -

php - How can I cram 6+31 numeric characters into 22 alphanumeric characters? -

mysql - where clause in inner join query -