Which application layer(s) should be responsible for user input validation? I think there are two schools of thought:
The frontend should make no assumptions as to what constitutes valid data, the backend knows better. Unless your server is located on the Moon, there's no cost worth thinking of.
There are things that don't take the backend to figure out. For example, the frontend can check required fields for blankness, or check if a "from" date is earlier than a "to" date. Performing such checks on the frontend is cheaper and makes for a more efficient application.
What's your take?