Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <span class="label">
- User Name
- <i class="fa"
- ng-class="{'fa-exclamation-triangle': as.vloginUserName(as.forms.login.loginUserName) != 'OK'}"
- title="{{ as.vloginUserName(as.forms.login.loginUserName) }}"></i>
- </span>
- <input class="w15r"
- id="loginUserName"
- name="loginUserName"
- ng-change="as.clearRegisterData()"
- ng-model="as.loginUserName"
- ng-minlength="3"
- type="text"
- value="" />
- vloginUserName = function (field) {
- if (angular.isDefined(field)) {
- if (field.$error.minlength) return "Minimum Length 5";
- }
- return "OK";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement