Its not that validation has to be done only on the client side, depending on the situation it varies, if it is not required to fetch data from the database and validate, client side validation can be done.
server side validation is done whenever it is required since it utilizes the server side resources
If you have the better answer, then send it to us. We will display your answer after the approval.