I wanted to know where validations placed are most effective: Model,
View or controller.
In my application i enter data in a text box and if it is greater than a
given value (which varies depending on choice), it should throw an error
message and data shouldn't be saved.