bootstrap-validator
bootstrap-validator copied to clipboard
call an other function if push validate is ok.
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 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 ...
});