Ticket #29956
Question
I have a Bootstrap maintainer page with a bit of javascript code. I am attempting to prevent the submit function when the accept button is pressed. I am reviewing the console log and it looks like submit event is being prevented but the page continues to submit.
Answer
Informed customer m-Power's built in form validation is performing a series of checks. If you want to use your own custom validation, you simply need to add the class 'no-validation' to the form. This should allow your code to work as intended.
Asked on January 27, 2020