Using Regex To Check Name,10 Digit Mobile Number And A 12 Digit Number Using Ng-blur And Match Function In Angularjs
I want to validate these 3 mentioned above but I am finding difficulty in using appropriate functions. ...please help. The html code for 3 inputs
<div><label>User Email</label><div><inputtype="text"placeholder="paul@lebensraum.com"ng-model="user.email"name="userMail"requiredng-pattern="/^[_a-zA-Z0-9]+(\.[_a-z0-9]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/"></div><divng-messages="user.userMail.$error"class="error"role="alert"ng-if="user.userMail.$dirty"><divng-message="required"style="margin-left: -13%;">Please User Email ID</div><divng-message="pattern"style="margin-left: -13%;">Please Enter A Valid Email Id</div></div></div>
Post a Comment for "Using Regex To Check Name,10 Digit Mobile Number And A 12 Digit Number Using Ng-blur And Match Function In Angularjs"