Home  /  Questions  /  Question

108   96.7
Aug 04, 2011

How can we make data validation work?

What is the purpose of the validation in the project right now? It validates length, required fields and stuff like that but it doesn't seem to be activated. The same validation in the Business Layer is also in the Presentation Layer. It also seems to serve no purpose.

I commented out the required field for country in the Presentation Layer and it blew up so validation in the Business Layer seems to serve no purpose at all. Please help me figure this out.

I want to do some validation on data coming in from the service but the way the project is now it is not working.