angular-bootstrap-show-errors
angular-bootstrap-show-errors copied to clipboard
Multiple forms on one page
I have a Settings
page with two subsections: General Settings
and Password Change
— two separate <form>
tags with the Submit
button each. When I press Submit button on any of this form I do $scope.$broadcast('show-errors-check-validity');
to check all fields in this form... but other form is also showing errors. So, how to validate fields only for one form, not for all forms on a page?