I am currently in the process of developing a validation feature for my project. In case the form fails to validate, it should not be able to submit. Therefore, I am looking for a solution to prevent the function submitFilloutform() from executing.
<button
id="submit"
name="submit"
type="submit"
class="btn btn-warning"
style="float: right;"
onclick="validateForm(), submitFilloutform()"
>Submit</button>
Any assistance on this matter would be greatly valued. Thank you!