What about the round trip time if the user makes some mistake. Consider a form where there are many fields. I had worked in a project where there lot of fields and was not possible to spilt the form. How should such cases be handled?
Originally posted by Pradeep Bhat: One more question- "Is it okay to have an web app wher some pages uses client side validation and others use server side validation ?. " I feel that user may not like this. Any comments?
It all depends the users you targeting in ur web app
What about the round trip time if the user makes some mistake.
That's the 'user experience' part. It's nice to have client-side validation so that the user gets an error notification at the earliest possible time. But I think it's a grave mistake to assume that client-side validation makes it safe to ignore server-side validation.
"Is it okay to have an web app wher some pages uses client side validation and others use server side validation ?. "
As long as you never assume that client-side validation ensures that the data is good when it gets to the server, you can make such decisions based upon what makes the most sense for your app and your user base. hth, bear