145 questions
0
votes
1
answer
1k
views
How to set Date in angular.js?
I want maxDate to be selectable as today at most, (old days should be clickable, but not tomorrow)
the day between i select as maxDay and minDay should be 365 days at most, it cant be selected more ...
0
votes
1
answer
778
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(+) ...
0
votes
1
answer
61
views
Validation of dynamically named input fields in AngularJS
I have an input field inside an ng-repeat, which gets a dynamic name tag, like so:
<div ng-repeat="a in b track by $index">
<div show-errors >
<label for="...
0
votes
2
answers
794
views
AngularJS form validation is not working, empty form displayed
I am trying to create a form that contains selects and inputs. Unfortunately when i added this form nothing happens when when input is filled, no action ... Below is my code:
<form name="myForm" ...
0
votes
1
answer
455
views
Is it possible to use function input to create a variable name?
Pretty sure that my title is misleading... Oh well.
So basically, I'm trying to create a game and I have a bunch of arrays with names like ItemsInG5Array, ItemsInB2Array where G5 and B2 are nodes of ...
1
vote
0
answers
50
views
Is it possible to use form attribute in angularjs for form validation?
Please think in angularjs way.
Actually my layout is different.
I have input fields inside form and also have input fields outside form, this is a special case in my product.
I know about form ...
2
votes
0
answers
596
views
Custom validation in input field for unique value
I've to use AngularJS 1.7 for a project where I have a form and have to validate an input field to be required, to have a particular pattern and to have unique values. For this I'm doing this :
...
1
vote
1
answer
125
views
scope.$eval() is undefined if both input fields have the same directive
I'm trying to validate two password input fields. Simply confirm that they are equal. (Suggest another approach if mine is way wrong)
I have implemented a directive with a simple validation that ...
0
votes
3
answers
662
views
Angularjs Form validation How can i get values inside Controller
This is my Html Part
<form name="userForm" ng-submit="submitForm()" novalidate>
<!-- NAME -->
<div class="form-group" ng-class="{ '...
0
votes
2
answers
25
views
Strange validator behaviour in AngularJS 1.5.11
Our application is still using AngularJS 1.5.11 but I've tested the included example also with version 1.7.2 and get the same results.
The problem is the strange behavior of the validateNumber ...
0
votes
1
answer
63
views
How can create validation for single control's value required from multiple control in angularjs(1.*.*)
i.e, I have four text boxes if I enter a value in any text box out of all text box, it should be allowed to submit otherwise throw an error,"Value is Required",
It is possible using angularjs ...
1
vote
1
answer
1k
views
How can I validate keyup function in AngularJS
Here I'm using web API with AngularJS here I'm trying to if my keyup function is not valid then its shows me please select another email.
public IHttpActionResult GetEailCount(string email)
{...
1
vote
0
answers
545
views
AngularJS - Validate when ng-model value not in Select options
I have a situation where the ng-model value may sometimes not be present in the ng-options list of a Select dropdown (ID of a user that is no longer with the company saved in a record, for example). ...
0
votes
1
answer
62
views
javascript Angularjs validation not showing
I am using ex6 and angularjs and I write an angularjs validation form.
the HTML doesn't show up. it's not showing any errors.
The HTML of the validation :
<form id="form" name="login.sign" class=...
2
votes
2
answers
121
views
Angular JS form validation in "myApp" application.
I am new to AngularJS and try to implement form validation in "myApp" app.
I wrote the code below. The {{result}} should output "true"/"false". But it didn't work.
<script src="https://ajax....