jqBootstrapValidation
jqBootstrapValidation copied to clipboard
Destroy undoes validations
If a field has been validated and is showing an error or warning, and you destroy and reinitialize the validation because you've added or removed a different field, all of the currently shown error messages go away.
If any of those messages were from a custom validator, and then you hit submit, that custom validator doesn't get retested. Therefore, even though the field has failed validation, the form submits successfully.
Is there a way to trigger the re-testing of fields that previously had warnings/errors on them? Or a way to force all fields to be re-tested on submit?