Skip to main content
2 votes
0 answers
303 views

How To Create An Employee Schedule Form With AngularJS 1.5.11

Summary I'm having a hard time developing what I believe is a simple form using angularjs 1.5.11. It is supposed to be a multiple form single page UI which manages work schedules. The final result ...
Jonx1000's user avatar
2 votes
2 answers
853 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) { ...
tarekahf's user avatar
  • 1,082
-1 votes
1 answer
70 views

Is an AngularJS Form Item validated if it isn't displayed using jQuery hide()?

and yes, it's 2020 and I'm still using AngularJS 1.x instead of Angular, but it's for a project at work, so I don't have a choice in the matter. Anyway, I'm trying to set up a form that needs to ...
VitaminTussle's user avatar
0 votes
1 answer
530 views

Form Validation with font awesome icons inside ng-repeat

Good Afternoon, I'm having a problem trying to get my font awesome icons to work as expected, I have a shopping cart where hardware can be ordered, an address field is provided for each item so the ...
Bored Panda's user avatar
0 votes
1 answer
479 views

How to use form and ng-form together?

I want to use form and ng-form together. I have a markup like this: <form name="createCampaignForm" ng-submit="submitCreateCampaignForm(createCampaignForm.$valid)" novalidate> <myinput ...
Umut Çağdaş Coşkun's user avatar
0 votes
1 answer
540 views

Publishing an Input outside the Form to the Form via name programmatically with Angularjs

I need to publish an Input to a Form, while the Input sits outside the form. I managed to add the input, but the result is not what I excactly need (see the console output) So I basically adding the ...
StackOverthrow's user avatar
1 vote
2 answers
660 views

Expose ng-form in scope and reference in ng-init

I am attempting to do something like this: <div ng-form="testForm" ng-init="$ctrl.doStuffWithForm(testForm)> Where I define a form/publish the form to the current scope with the name testForm ...
elethan's user avatar
  • 17.1k
0 votes
2 answers
800 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" ...
Aless Hosry's user avatar
  • 1,209
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 ...
Ankit Pandey's user avatar
1 vote
2 answers
1k views

How to display error message when passwords doesn't match in Angularjs?

I'm new at Angularjs and my question is how to display an error message when the password doesn't match with confirm password? Can someone help me, this is not very difficult but I'm still learning to ...
Mitko's user avatar
  • 35
0 votes
0 answers
76 views

Set form to submitted once it's loaded

I am trying to submit the form initially but when I try to do vm.form.$setSubmitted();, vm.form is still undefined at that point as it takes a while to load. How can I submit the form once it stops ...
LazioTibijczyk's user avatar
0 votes
1 answer
534 views

How to add validations for div tags in AngularJS

I'm trying to add validations to my Angular js code. I'm using div tags instead of form. Do I need to change something in .js or should I just add required in my input tag <input required type=".....
Bru's user avatar
  • 23
0 votes
1 answer
80 views

AngularJS - how to use ng-required only for active fields

I have an application where toggle button is, and when clicked, it activates fields for user input. Fields are on one page, button is calling like this: <span ng-include="'partials/triggers/...
R-Man Growduino's user avatar
-2 votes
2 answers
3k views

how to validate on form submit using AngularJS

I am very much new in angular js.I want to validate and post the form data using angular js on submit.I searched google but most of them was disable the button on load ,after completing the form with ...
user3267064's user avatar
7 votes
2 answers
3k views

AngularJs: Required field validation and highlight for dynamic rows of HTML table with contenteditable

I have an HTML table as below: <tbody> <tr ng-repeat="r in targetTable.rows"> <td contenteditable="true" class=""></td> <td contenteditable="true" ...
aman's user avatar
  • 6,282

15 30 50 per page
1
2 3 4 5
9