The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
22 views

AngularJS validation with nested entity not working

I'm working on big form for one of my project. This is how I'm designing my form @Html.EditorFor(model => model.EmployeeMaster.EMP_FirstName, new { htmlAttributes = new { @class = "form-control", ...
-1
votes
2answers
29 views

Triggering form validation programmatically in angular-js

I am using a custom directive to submit a form programmatically however no form validation is applied before submitting the form. I have called $setDirty() on the form field and $setSubmitted() on the ...
0
votes
0answers
9 views

How to set $invalid true to a field in form through a directive in AngularJS

Can anyone please help me to set either $invalid to true or $valid to false through a directive. When I tried to console.log(ctrl) I got an array named FD having names of the field as well as form ...
0
votes
1answer
30 views

How to apply class level validation rules using the Angular implementation of jQuery Validate

I have used jQuery Validate's handy addClassRules function to apply a rule to all elements of a given class rather than relying on the elements' name attribute values. In using the Angular wrapper of ...
2
votes
1answer
47 views

Angular Form Validation inside ngRepeat

I have a series of table rows with various inputs inside of an ng-repeat and I'm trying to use angular's built in form validation to handle required fields. Everything works well except for when I ...
0
votes
2answers
110 views

How to Add a Validator dynamically to a FormControl in Angular 2

I am using ReactiveFormsModule and have defined all my form controls including simple validators such as Validators.required within a const configuration. I wanted to add a custom validator to one of ...
0
votes
1answer
21 views

Angular Validation on Submit with A Dotted Function Name

I am trying to call a 'custom validation directive' by watching the ngModel. My submit function name is dotted.[sllr.save()] <div class="col-sm-10"><input type="text" placeholder="must be ...
1
vote
2answers
28 views

How to make angular.js validation work inside a <form> tag

I wrote this code but it doesn't work when I place my app inside of <form name="myForm">... tag. What should I do to make it works! (whenever I place myForm inside of ng-app it works, but my app ...