Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Mar 19 2019 11:48
    elpdpt commented #286
  • Mar 06 2019 17:39
    elpdpt commented #103
  • Mar 04 2019 21:28
    hueitan closed #307
  • Mar 04 2019 21:28
    hueitan commented #307
  • Mar 04 2019 04:14
    coveralls commented #307
  • Mar 04 2019 04:14
    coveralls commented #307
  • Mar 04 2019 04:05
    chabzlala29 opened #307
  • Feb 05 2018 11:34
    hueitan commented #306
  • Feb 05 2018 11:29
    coveralls commented #306
  • Feb 05 2018 11:22
    Chhaya02 opened #306
  • Jan 19 2018 19:43
    sanujgandhi commented #304
  • Jan 19 2018 19:42
    sanujgandhi closed #304
  • Jan 19 2018 19:42
    sanujgandhi commented #304
  • Jan 19 2018 10:53
    hueitan commented #304
  • Jan 19 2018 09:32
    sanujgandhi edited #304
  • Jan 19 2018 09:31
    sanujgandhi reopened #304
  • Jan 19 2018 09:31
    sanujgandhi closed #304
  • Jan 19 2018 09:31
    sanujgandhi commented #304
  • Jan 18 2018 15:58
    hueitan commented #305
  • Jan 16 2018 09:24
    sanujgandhi commented #304
TypeError: b.validate(...).success is not a function
The button is outside the form of a reason.
hey @jejja yeah just came up against the same issue, no joy in resolving though :(
also @huei90 any reason why validate-submit would be blocking ng-submit?

@poppahorse I think that it will not trigger any ng-click or ng-submit until its all valid. I dont use that. I use in stead the


In the controller.

And by the way. I solved the issue above. The problem was that for some reason it was not a HTML-form I tried to validate.
yeah it tries to grab the scope based on the formName
and kinda resolved my issue now by putting ng-submit="form.checkValid(formName) && form.submit(formName)" and same on ng-click on the button
Johnny Gonçalves de Santana
Hello! Anyone knows how to use !form.checkValid() ? I'm trying to disable a button, but it's always returning true
Also I was trying to inject $validationProvider on my controller and I was getting an unknown provider error. A little strange cuz I was able to use it inside .config
Arryon Tijsma
Hi, does anyone know how to import this module with Webpack? the regular const validator = require('angular-validation'); method doesn't work
Arryon Tijsma
It only seems to work if I define 'validation.rule' as my own component as such (ES6):
import 'angular-validation';
export defaults angular.module('validation.rule', ['validation'])
  .config(['$validationProvider', function($validationProvider) {
    // ruleset from
And them import it in app.js as
import validation from 'components/validation/validation.component';
angular.module('app', [
I am trying to use this validation with this boilerplate so far no luck
anyone what I am doing wrong the gulp task just say that
[13:47:52] Browser platform and plugins injected!
[13:47:52] Rebundling...
[13:47:53] gulp-notify: [Compile Error] Cannot find module 'angular-validate'

This is how I am including it
import angular from 'angular';

// angular modules
import constants from './constants';
import onConfig from './on_config';
import onRun from './on_run';
import 'angular-ui-router';
import './templates';
import './filters';
import './controllers';
import './services';
import './directives';

import 'ng-cordova';
import 'angular-validate';
import angularSpinner from 'angular-spinner';

// create and bootstrap application
const requires = [

// mount on window for testing = angular.module('app', requires);

angular.module('app').constant('AppSettings', constants);



angular.bootstrap(document, ['app'], {
strictDi: true

S Vinesh
Is there some way to do password match validation with retype password and password fields with this plugin?
@steven-github I need the same thing you asked for. Have you done that ?
S Vinesh
same question Svinesh
Ramón García
Hi there
I am having issues while getting $valid from the form,
i always get undefined
has anybody found a workaround for that?
$validation.validate($ctrl.form).success().error() always throws error
Steven S.
@svinesh3691 hey! what do you need?
Martin Nordström
hey guys
Hi, how can I reset the form validation from javascript?
also, how can I force validate select boxes? I'm having a validator condition put in place, calling it, it validates but does not highlight my select boxes :(
Huei Tan
@fortecip there is the reset API. for the second question, please submit a issue so that you can describe it more =)
@Martinnord Hi =)
Freak Zone
Does this work with angular 1.6? Thanks.
hello guyz .error is working but invalidCallback function is not working
can anyone help me ?
its working now
i have one more problem when i use angular-validator inside 720kb date picker then date picker not works
how can i use angular-validator for validating password and confirm password ?
Huei Tan
@Freak_Zoner_twitter Have you tried with the angular 1.6?
Hello @hueitan
I'm using angularjs validation in some cases validation not working, how can i resolve this issue?
when i'm using validation with uploading file , in this case validation-submit="FormName" not working, button click event not working
José Vicente Lara Cuadrado
Hello guys,
I have a problem using this library, In the form object always $valid and $invalid always are invalid so I can't validate my form, only if I check each input of the form one by one . Has anyone the same issue?
Nikola Eleree
it's this library still under maintained?
how can i use angular-validator for validating password and confirm password ?
@gauravBrain have you found any way?