asp.net form validation. Server-side or client-side
- by Jeroen
Here's (i think) an interesting question.
With AJAX more and more common i feel more and more like doing all form validation server-side.
Picture a registration form pre-AJAX. You have all your validation client-side using the common asp validation controls and validation summery...except...checking username availability, check emailadress availability, captcha and what not.
So you end up with 2 kinds of validation and so presenting the user with 2 different UI's at 2 different moments. 2 words come to my mind. Ugly. Inconsistent.
So here's the question. Why not do all the validation server-side (using AJAX or not).
(I'm not using JQuery yet, should i?)