>>>Hi,
>>>
>>>If I want to only allow entering characters, numbers and _ in the angularJs application for a particular column's value, what is good to use?
>>>
>>>We do have jquery.maskedinput.js in the application and I see some samples in the app such as
>>>
>>>
>>>$(".phone").mask("(999) 999-9999? x99999");
>>>
>>>I don't like that much as it mixes angularJs code and jQuery code. Wondering if there is another approach to take. What do you recommend?
>>>
>>>Thanks in advance.
>>
>>ng-pattern ?
>
>Thanks, will check that property.
>
>UPDATE. It doesn't really restrict entering anything but it allows to check for validity.
Ah. Haven't tried it but maybe :
https://github.com/AlphaGit/ng-pattern-restrict