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

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

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -