K
K
keche2019-02-21 16:09:22
JavaScript
keche, 2019-02-21 16:09:22

How to stop bootstrap validation after form submission?

There is a standard bootstrap validation
After a successful submission from the form, the validation happens again because the form is cleared by the command. And all fields are highlighted with an error. How to stop validation after successful submission and clear data from form fields?
$('form').trigger('reset');

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question