Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
303 views

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
857 views

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

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
531 views

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
483 views

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

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
663 views

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
805 views

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

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

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

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

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

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

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

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,292
0 votes
4 answers
84 views

I have this very basic example. This should work in a form for multiple inputs as well. I want a form without any required parameters. But I only want to enable the button if at least one of them is ...
user10111311's user avatar
0 votes
0 answers
740 views

I am fetching a list of files (which may be of any type) from mysql database and converting them to byte[] and returning all the files of a particular user as an array of files in spring boot. Now I ...
Sm Srikanth's user avatar
  • 2,440
0 votes
1 answer
275 views

Hi i would like to setValidity of input using an expression, but not a regEx, something like this <input ng-model="number" required ng-valid="number / 2 > 14"> Is it possible i have complex ...
Konrad Straszewski's user avatar
4 votes
2 answers
3k views

You may be amazed why I am intended to do it, but it's necessary to be done. I couldn't solve, so could you please help me.. if yes, let's go! I have a form, I want that if I click on submit, an ...
Sikandar Sahab's user avatar
0 votes
2 answers
24 views

I listed input data from a form listed in HTML table using ng-repeat. I wanted to delete or update a row in the table. Please suggest how to pass the data value from a row to controller in AngularJS ...
P. Wle's user avatar
  • 23
0 votes
1 answer
383 views

In AngularJS I am trying to make different editable forms from JSON data. I am getting JSON data from $http call. Sample json data. { {"NodeType": "User","NodeDetail":{"Name": "Sam", "Age":24,"...
usersam's user avatar
  • 1,265
1 vote
1 answer
918 views

In AngularJS , I am trying to make and editable TreeView from JSON data. I want to get a nodevalue from JSON and edit it using forms. While editing, the original JSON should change immediately. I ...
usersam's user avatar
  • 1,265
1 vote
2 answers
73 views

Sorry if my question not well because i new in angular, please help me to drive to good solution and standard one. here is my html form <form ng-class="{'submitted': submitted}" name ="mybook" ...
inh_inh's user avatar
  • 21
0 votes
0 answers
66 views

I have a contact form. On submission, it displays a success message and it should store that data to $localStorage. But, Form data not is not submitting as I do not see submitted form data in ...
user avatar
0 votes
1 answer
654 views

I have a simple query submission form with name, email and query fields and a component with a controller function having the submit function to submit the form. I am using ng-submit directive in the ...
user avatar
1 vote
1 answer
671 views

I have a text input within a directive that I want to use as a filter for displaying a list of items, but I don't want the entering of a filter to affect the containing forms $pristine value so that ...
BlackICE's user avatar
  • 8,956
0 votes
1 answer
270 views

I am trying to create a form with two buttons Edit & Submit. Submit is initially disabled . What I need to achieve is when Edit is clicked Submit button should be enabled and edit is disabled. ...
iymrahul's user avatar
1 vote
0 answers
29 views

In my login.html I have <div class="form-login"> <h4>Welcome back.</h4> <input type="text" id="userName" ng-model="user.username" class="form-control input-sm chat-input" ...
user avatar
0 votes
2 answers
184 views

Here is clear exampel about forms: <div ng-form="namesForm_{{$index}}" ng-repeat="name in names"> <input type="text" name="input_{{$index}}_0"></input> <!-- ... --> ...
Cherry's user avatar
  • 34k
0 votes
1 answer
433 views

i wants to validate text box which allows special character like []^_,atoz,1 to 10 characters.am using ng-pattern="/^[a-zA-Z0-9]*$/" it allows to enter but it doesnot enable submit button.But the ...
Angular js's user avatar
0 votes
1 answer
571 views

I have a project where i use query params which are passed to the back end for a search. They are passed using the $http.get method in AngularJS. Some params are not required for the search, so I ...
George Sp's user avatar
  • 572
0 votes
1 answer
2k views

I am having trouble with form validation in AngularJS. I am trying to show a div based on whether an input is invalid. Angular is putting the correct classes on my inputs (ng-touched and ng-invalid) ...
mep's user avatar
  • 481
1 vote
0 answers
249 views

I am working on dynamic forms with ng-repeat. I am using the oi-select library for loading my locations. The oi-select box has multi select feature. on my page loading by default, I am loading first ...
kannanc's user avatar
  • 21
0 votes
1 answer
191 views

i am working with dynamic forms with ng-repeat .i am getting dynamic forms according to my userid. each form has delete button. my requirement is once i am clicking delete button i need to delete that ...
kannanc's user avatar
  • 21
0 votes
2 answers
565 views

i am working with AngularJS dynamic forms . According to my userid value i generated multiple form field with same model name using ng-repeat. i am using select box for loading location. As per my ...
kannanc's user avatar
  • 21
0 votes
3 answers
1k views

I want the search button to be disabled if there is no entry in the search field; In my html file I have: <div class="form-group"> <input type="text" class="form-control" ng-model"...
Pares's user avatar
  • 57
1 vote
3 answers
1k views

i am working with AngularJS dynamic forms . According to my userid value i generated multiple form field with same model name using ng-repeat. i am not able to get this input model values due to this ...
kannanc's user avatar
  • 21
0 votes
2 answers
2k views

I have one form but when I try to validate the checkbox I have one problem, because are differents validations, one validation is one list you have to check one of them and then at the end of the form ...
derek's user avatar
  • 173
1 vote
1 answer
1k views

I am trying to create dynamic forms based on servers response. For example, I have 8 buttons, and each button when clicked should generate a different questionnaire with different input types. The ...
BleachedAxe's user avatar
1 vote
0 answers
907 views

This is my edit form html template <div class="row"> <div class="col-xs-12"> <form [formGroup]="recipeForm" (ngSubmit)="onSubmit()"> <div class="row"> <...
ark's user avatar
  • 3,805
4 votes
1 answer
3k views

I can't figure out what's happening in the following example. I just trying to create my own required validation in my own directive where I have an array and I want to make it required (it's a ...
gsubiran's user avatar
  • 2,572
0 votes
2 answers
45 views

I want to get the value of a text field value using AngularJS when a form is submitted. The code below always shows "undefined". html: <form ng-submit="AdvanceSearchSubmit($event)" name="...
nayan chowdhury's user avatar
2 votes
1 answer
10k views

I have an Angular form with name p24Form <div ng-form="private2" name="p24Form" ng-show="freqSelect == '2.4'" novalidate="" class="ng-pristine ng-valid"> <div class="form-group"> ...
code-8's user avatar
  • 59.5k
0 votes
1 answer
2k views

I have an input field with type set to date. <p>Form is valid : {{myForm.$valid}}</p> <input type="date" ng-model="model.myDate" placeholder="yyyy-MM-dd" min="{{minDate | date:'yyyy-...
Sun's user avatar
  • 4,808
0 votes
2 answers
4k views

I use angular 1 form to show changed save button text. The button text should be the follow: (disabled) save - when initial (enable) save - when edited or re-edit after saved (enable) saved - click ...
junlin's user avatar
  • 2,055
0 votes
2 answers
2k views

I need to check which input element has modified in update form. <form name="utilizationForm" role="form" novalidate> <div class="row" data-ng-repeat="i in [1,2,3,4]"> ...
Ramkishan Suthar's user avatar
0 votes
2 answers
55 views

My AngularJS validation does not work. I have added ng-required. Please let me know where I am missing <ng-form id="frmdisbursementScheduleMaintenance"> <div style="padding-...
user1030181's user avatar
  • 2,025
0 votes
1 answer
89 views

I believe I'm following correctly the AngularJS official documentation for radio buttons. So, I created this code: indexSelected={{indexSelected}} <form name="form"> <div class="form-...
Marco Jr's user avatar
  • 6,848
0 votes
3 answers
522 views

I'm following the official angular documentation , but it's not working for me. What could be wrong ? I need to validate if the mobile phone are required and following the international standard like +...
Marco Jr's user avatar
  • 6,848
6 votes
2 answers
24k views

How can I get file content while I click on submit button. I'm getting only first and second input. Please refer to snippet: !DOCTYPE html> <html lang="en"> <script src="https://ajax....
Mohammed's user avatar
  • 658