bootstrap-validator icon indicating copy to clipboard operation
bootstrap-validator copied to clipboard

call an other function if push validate is ok.

Open jochen1727 opened this issue 8 years ago • 1 comments

Hi,

I 'd like when my submit form is all right and push button is ok call an other function. Because i have an other function which have the same trigger "submit" and both in the same time cause a problem. I use js to enable my function : $('#form').validator() If someone could help me :-). Thks.

jochen1727 avatar Oct 04 '17 16:10 jochen1727

@jochen1727 This will work always when validate is a success:

      $('#form').validator('update').on('valid.bs.validator', function (e) {
        // validate is ok write your code here ...
      });

bertonbeil avatar Dec 15 '17 02:12 bertonbeil