All Questions
132 questions
-1
votes
1
answer
52
views
AngularJS, Chinese food, names and number inputs
Alright, I'm building fake Chinese food menu using AngularJS and jquery. The first section simply lists items, the second section allows the user to "order" food, then creates a total price by ...
1
vote
0
answers
137
views
AngularJS ng-submit not working on mobile
My form is working fine on desktop browser but not in mobile.
My HTML form is
<!-- Header Search Form -->
<div ng-show="true" style="background-color:black" class="header-search-form header-...
0
votes
0
answers
63
views
Reset form after submit using Angular js
I want to reset form fields after submitting the form my code is working fine but here for clearing input field I wrote like this all checkbox fields all checkbox fields I have to write.
$scope....
0
votes
1
answer
2k
views
How to insert new data row in table when clicked on add button with AngularJS
Roadmap: I have a form with one row of some fields and select menus. So, when I insert all the data in that form and press ADD ( + ) button, I want that information automatically added as a row in the ...
-2
votes
1
answer
450
views
Selecting only one radio button value in nested ng-repeat in angular js [closed]
Selecting only one of radio button values in nested ng-repeat.
Can you please suggest any wrong in source code
<form ng-submit="save()">
<div ng-repeat="x in surveyLst">
<div ...
0
votes
3
answers
963
views
how to change button text with 'Loading' after submit form and reset form after submit in angular
var app = angular.module('snc', []);
app.controller('contactForm', function($scope, $http) {
$scope.user = {};
$scope.submitForm = function() {
$http({
method: 'POST',
...
0
votes
1
answer
70
views
AngularJS process form on form click
I'm trying to submit a form when user clicks on any part of the form, and then process it using AnglujarJS. Here's how I tried doing it:
<form ng-click="submit()" ng-app="MyApp" ng-controller="...
2
votes
1
answer
594
views
How to validate form again when input value is removed in AngularJS
First, I clicked register button without values, my custom directive showed right alert (using sweet alert).
Also there was no problem when I have done same action after filled first input.
But ...
1
vote
6
answers
1k
views
AngularJS wait submit the Form (ng-submit)
I have one Form, In this I submit this form when it loads.
I want that when this page is load it waits for some number of seconds then it submit this form.
I don't want to submit this form by using ...
0
votes
2
answers
1k
views
Check if value in object is null or empty javascript
That's my problem: I could have this array of objects:
[{
"name": "Alex",
"code": "05422180283",
"pIva": "05422180283",
"subCode": null
}, {
"name": "John",
"code": null,
"...
2
votes
3
answers
2k
views
Hiding fields in a form based on selected input in drop down using angular js
We are trying to hide few fields based in the form structure based another selection in the same form field. Here the form is generated based on input from the user using loop (ng-repeat) and is not ...
0
votes
3
answers
765
views
Angular JS - Notify the user if form is successfully submitted using HTML element
I am new to Angular JS and using it as the framework for my client-side JavaScript. I want to notify the user if the form is successfully submitted using HTML element (not an alert which the user ...
0
votes
3
answers
1k
views
ng-click instead of submit
After I click submit in a form, some javascript runs to modify the data and sends it to whatever the form action is specified in the HTML:
// Submit the form:
// $form.get(0).submit();
$('....
0
votes
3
answers
262
views
Enable reset button after the form is filled in
I have the following html code:
<form class="form" method="post">
<h2 id="formheadline" class="options-headline">Change password</h2>
<div class="form-row">
...
0
votes
2
answers
4k
views
Angular Validation render ng-valid when form is not valid
I have a wedding RSVP form
I am trying hide the DONE submit button and only show it when the form is valid.
<form method="POST" action="http://l.bheng.com:8888/wedding" accept-charset="UTF-8" ...