I have a form with the following controls
- textbox for emailId -txtEmail
- textbox for aboutme- txtAbout
- submit button -btnSubmit
I'm using requiredfieldvalidators and reqularexpression validators for both the text fields. I need to do serverside validations. So I've set EnableClientScript to false.
txtAbout and btnSubmit should be disabled if txtEmail is either empty or invalid. How do I fire the validation for this?
Also, if I'm asked to do Server Side validation, should I EnableClientScript to false, 'coz I read somewhere that even if is set to true, server side validation will fire.