Why do we validate?

Thought @Image courtesy of farconville/ FreeDigitalPhotos.net

Why do we validate?

Welcome to CodeSpread!

I know people will fight to prove validation is required,validation is good and blah blah…….

But when some proof is asked , nobody was able to convince me.Few answers-

  • More control over datatype.
  • More control over expressions entered.
  • Correct data stored.
  • The most funny answer that i heard was “I did it in past projects so it should be done in every project”.

If i say, 10 years back, people were not tech-savvy, so doing validations and showing validation messages was good .Opposite to that , if we analyze today’s user, then I am sure people knows what to enter and should be given freedom from validation.

I really would like someone to experiment by removing validation from websites and bring some innovation. I would be much more happy, if a site, asks me for my details, must tell me where they are going to use that detail instead of I filling all the necessary details for ex: if a site is asking me to enter my date of birth then a short message like ‘We will send you birthday greetings” would provide a better user experience and might prompt me to enter my date of birth.

I remember, i tried to register to few sites and there were quite a good number of fields to fill. This long process tired me up and I left the registration in the middle. In other similar case,there were so many validations that i got pissed off and left. It created a very negative user experience. In this world where in each second,thousands of sites getting live, you might lose your user in 5 seconds just because of some   extra unnecessary fields or negative validation messages.

I would suggest to put a field in your website only if it is utmost importance and give a proper explanation as why you are capturing it. User should be easily comprehended with it and please avoid any kind of validation. Let user decide what information they want to provide.

Its only about removing all negative impressions from your website to provide comfortable experience to user. if telecom companies can offer “Made for You” package then we can also do the same. :)

Author: jackie

I am a developer.

Share This Post On


  1. nice superb explaination

    Post a Reply
  2. thanks for the tutorial
    I am having a problem.
    The feature “Create SQL server database” isn’t available , I can’t select it.
    Can you help, please ?

    Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

More from CodeSpread:

  • Time Out: Not a Technical postTime Out: Not a Technical postTaking my time-out from technical world for once and sharing a regular joke in the form of  this comic with you. There is no harm in showing funny side also sometimes. wat say!!
  • Thought : User Freedom-Customized ContentThought : User Freedom-Customized ContentThis article analyzes the gap between our expectations from internet content and how it is being served to us. We are information hungry people and Internet is full of information but still not ...
  • Best user experience(UX) ingredients of websitesBest user experience(UX) ingredients of websitesWhen I visit a company for interview, I always ask myself few questions, if selected,why would i join this company? what is different here? I have some nice experiences which satisfied me with m...
  • Agile Encounters UnpredictabilityAgile Encounters UnpredictabilityWhat is Agile? Wikipedia says “Agile software development is a group of software development methods based on iterative and incremental development, where requirements and solutions evolve through...
  • New Year Wishes from CodeSpread TeamNew Year Wishes from CodeSpread TeamCodeSpread Team is enjoying, partying and wishing a very happy new year to all of our users,readers and friends.
  • Interview : a question mark?Interview : a question mark?I like going for interviews for two simple reasons: I found that this is the simplest way to remain updated with the latest knowledge. If we look at the IT trend, daily new software are gett...
  • Youtube Error: Team of highly trained monkeysYoutube Error: Team of highly trained monkeysSitting on a sofa,sipping nice tea,I was surfing internet and thought of watching some video on you tube. Bang! Bang!! I got a 500 internal server error and the time to get furious but shhhh....
  • POCO vs Custom Classes/DTOPOCO vs Custom Classes/DTOWhen I started working on Entity Framework, I didn't catch the idea of POCO initially. I started with custom classes and later came to know the advantages of POCO over custom classes. What is POCO...