html - Phone number validation in angularjs -


i trying validate phone number below condition, if 10 digits of same number,it should display error message. if starts 1, should display error message. please share suggestion if have come across such scenario.

without example code, hard see trying - , if have attempted @ solving yourself.

but oh well, there multiple ways of doing this, want serverside validation - never want validate on users end.

how can limit value input using angularjs?

adding listener on model in angularjs 1 (and 'think' want), can update 'something' according being input text area.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -