Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
how to validate phone number and positive intiger value
Karthik Kumar
Mar 15 2016 11:55 AM
469
Reply
i am trying to validate phone number and +ve intiger value below code is not working for me.pls help.we should able to type specific number phne number and +value.how can i validate pls pls help
<td class="tal fntm fntn Editable leftcol" role="gridcell" data-role="editable" style="width: 10%;">
<input type="text" ng-required="requireTel" ng-pattern="phoneNumberPattern" style="width:100%;height:100%" ng-model=data.PhoneNumber class="tal configtext fntn Editable">
</td>
<td ng-if="result.IsEditable=='Y'" class="tal fntm fntn leftcol Editable" style="width: 10%;">
<input type="text" style="height:100%;width:100%" ng-model=result.PhoneNumber
ng-required="requireTel" ng-pattern="phoneNumberPattern"
class="tal configtext fntn Editable">
</td>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
How to group 3 form fields into one using bootstrap 3
For semantic ui