How to stop the Metronic stepper if validation fails
i use metronic_v8.1.6 and i want to know how to validate each step before going to the next step
Replies (2)
Hi,
Please refer to src/js/custom/utilities/modals/create-account.js:
stepperObj.on("kt.stepper.next", function (stepper) {
if (status == "Valid") {
stepper.goNext();
} else {
//
}
}); As you can see in the code you can conditionally trigger the stepper.
If you need any further clarifications please let us know.
Regards.