I am writing an app with AngularJS 1.5. I am trying to write a feature where the user can verify their password in the app and I am using ng-messages ...
I am writing an app with AngularJS 1.5. I am trying to write a feature where the user can verify their password in the app and I am using ng-messages ...
My directive is below. What i want is that to allow alphabetical caharacters and special characters but not numbers. How can we changed that based on ...
i have to validate the text box which shows the error message when user enters 4 digit as 9999.so i have used the ng-pattern method to show error mess ...
I am working on a transaction form. In the form, there is a field name Amount. I am using this ng-pattern i.e. ng-pattern="/^[1-9][0-9]{0,2}(?:,?[0-9] ...
In my angularjs form, I am checking the password pattern with a regex that checks for multiple conditions. Based on different condition checks of this ...
I'm working on custom form validation for an Angular application using ng-pattern. In my form I have: In my controller I define path_regex: ...
I want to do like this : 3.40 and not more than 3 characters and one dot: How can I allow only 3 digits and one dot in Regular Expression? ...
I made a small js here I also add the code to the Stack overflow snippet but for some reason it doesn't work to me var myApp = angular.modu ...
I want to validate a text input in form, so the submit of the form could not be done until the input match a regular expression. But when I type a wro ...
How to treat 1 and the number of decimals should be zero eg) 1.000 as same show the alert pop up number should be same.And the maximum number length o ...
I have a phone number input field where it must: Allows spaces and "-" and "+" characters. Have 12 characters max including the special characte ...
I have regex for IPv4 address: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$ and i h ...
I have a password where It should be minimum 8 character with alpha numeric and symbol except &,",% .I given ng-pattern and restricted few symbols ...
I want to create a regex expression that I can pass to ng-pattern so that the input can only be valid if the string has only uppercase/lowercase latin ...
In my Angularjs application I need to have regular expression for two patterns for form validation with the following condition. Pattern 1 : The inp ...
I want to use ng-pattern validate my text input field that should accept only Hebrew characters, sometimes the input are ok and sometimes they are bei ...
Hi I don't know much about regular expression. But I need it in form validation using angularJs. Below is the requirement The input box should accep ...
I need to validate the mobile number first text input starting with 04 should be total 10 digits including 04(eg : 0412345678) my input fiel ...
Am using the regex /^[0-9]+$/ to limit the input of the text box to only accept numbers. It's working fine but when the types something like +124 then ...
I try to validate the input of restricted characters. The input field only accept alphabet, dash and underscore characters. When I test the code belo ...