All Questions
Tagged with validation angularjs
1,870 questions
0
votes
1
answer
40
views
How to Locate and Customize the OAuth Implicit Flow Redirect Screen?
I am working on a project where an Angular app uses OAuth with an implicit flow. I need to find and possibly customize the screen displayed after the implicit flow redirects. The configuration is set ...
0
votes
0
answers
38
views
AngularJs textAngular taMaxText, ctrl.$validators return undefined
I try to use textAngular taMaxText attribute, in my jsp, the code is
<div text-angular ta-target-toolbars="toolbar2" ng-model="inpt.msgCntnText" name = "test" ta-max-...
0
votes
1
answer
486
views
How to change input text to lowercase in AngularJS [duplicate]
I want to have an input field to take email from the user for login. I already have all the email validations applied. But now I want to convert the text to lowercase as soon as the user inserts the ...
0
votes
1
answer
241
views
Angularjs: Validation for Mac address not working
I have a form to add device mac address and wifi mac address, but I like to put a validation for the input-form, just to accept alphanumeric values on this pattern 'xx:xx:xx:xx:xx:xx'.
I originally ...
0
votes
1
answer
32
views
How to add $watch for form validation inside AngularJS class
I try to add a $watch to check if the form is valid or not.
// testCtrl.html
....
<div class="row" ng-form="testCtrl.testForm">
...
...
0
votes
0
answers
22
views
Replace ng-valid/invalid classes with bootstrap .has-success/error classes
guys.
Do you know any good practices to make angularjs add bootstrap (or any different) classes instead of native ones during validation process?
I want to override ng-valid with has-success without ...
1
vote
1
answer
937
views
Update ngModel only after successful input validation
I have the following input defined
<input
id="xInputControl"
name="xInputControl"
type="text"
xInput
class="form-control"
...
1
vote
1
answer
461
views
How can I do ng-minlength, ng-maxlength validations correctly in angular.js?
In the project, required, max-size-number, min-size-number parts work, but pattern, minlength, and maxlength parts dont work,
How can I correct this?
here is the related code part;
<div ng-switch-...
2
votes
2
answers
737
views
How to invoke AngularJS $compile from outside AngularJS module/code?
Suppose I have HTML with AngularJS module/controller as follows:
angular
.module("myModule", [])
.controller("myController", ['$scope', '$compile', function ($scope, $compile) {
...
0
votes
2
answers
238
views
Prevent Form Submit if Phone Number is Invalid - Angularjs
I am wanting to prevent form submission if the phone input is invalid per my ng-pattern WITHOUT using disabled on the button. I have tried adding logic to my submitForm function to no avail. Something ...
0
votes
0
answers
162
views
Validate Entered Regex in Angular Reactive Form
I have a formcontrol to enter regex, with which expressions are stored in database. I have added async validation to validate. But it is always coming as true.
function regExValidation(control:...
0
votes
2
answers
2k
views
Why form validation errors are not showing in Angular?
I have been working for a week in a project, recently I notice I don't get any form validation errors, and I don't know why.
I tried with this code, from https://developer.mozilla.org/en-US/docs/Learn/...
0
votes
1
answer
260
views
How to display the message using ng-show when the input field is not changed?
Hy I have an input inside the form named relationshipForm.
<input id="change_R_text" type="text" class="form-control"
ng-model="...
1
vote
1
answer
284
views
Validate a group of form fields with AngularJS
Working with Angular 1.5.11
I have a html form with several fileds like :
<div ng-app="validationApp" ng-controller="mainController">
<div class="container">...
0
votes
1
answer
769
views
Angularjs form validation multiple input values
I am working on Angularjs form validation for multiple input values.
Below is the issue I am facing
Let's say I entered 'Johnss', directive will validate and give error Invalid name
click on plus(+) ...