Skip to content

jqBootstrapvalidation callback validation function not working after form validation #197

Open
@josephbacha

Description

@josephbacha

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>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions