How to prevent the form submission when the validations are failed

hai all,

I am using client side validation in my application, the validations are working perfectly. But the problem is the form is submitted when the validations failed also.

How to stop the form submitting when the validations are failed…please help me.

Add a RegexpValidator for the server-side validation