"Client-side validation is useful because it can reduce
or even eliminate the cases when the form is returned to the user
validation is not sufficient because it can be bypassed if the data
disabled in the user's browser. This article shows how to implement
both client-side and server-side validation."