Re:Ask HN: How would you validate data on both back end and ...
by stephenr on Saturday June 13, 2015 @07:59AM
(#9710762)
Do basic validation client side - if you can, rely on html input types and html5 validation attributes. It should be enough to be helpful in most cases without being overly onerous to maintain or hard to match server-side exactly.
Put your full detailed validation rules server-side.
Put your full detailed validation rules server-side.