Before submitting a form the user clicks a button to open a “confirm” modal. When pressing “Apply” in the modal client-side validation fires and validates all fields. So far so good, but if validation fails the modal does not close and I cannot work out how. I have tried to attach an eventhandler to the submit button and then call
Tag: client-side-validation
Why do we need both client side and server side validation? [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 9 years ago. Improve this question One argument for using both client side validation (JavaScript) and server side validation using a validator is that if the client browser does not support JavaScript or JavaScript