Open
Description
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
Labels
No labels