Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jqBootstrapvalidation callback validation function not working after form validation #197

Open
josephbacha opened this issue Oct 13, 2016 · 0 comments

Comments

@josephbacha
Copy link

josephbacha commented Oct 13, 2016

Hello,

I have a problem with jqBootstrapValidation:
Senario:
enter a value of 22 you will get an error validation message.
delete the input content and validate the form
the required error message will blink and disappear.
`

Type something

Test Validation
<script> $(function() { $(".form-horizontal").find("input,textarea,select").jqBootstrapValidation( { preventSubmit: true, submitError: function($form, event, errors) { // Here I do nothing, but you could do something like display // the error messages to the user, log, etc. }, submitSuccess: function($form, event) { alert("OK"); event.preventDefault(); }, filter: function() { return $(this).is(":visible"); } } ); }); function testValidation($el, value, callback) { callback({ value: value, valid: value > 100 }); }; </script>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant