to be honest, I don't recommend using client side validation. Since it is based on javascript, it is easy to get around simply by turning of javascript in your browser, I recommend using server validation over client side validation. Server validation is much more robust and reliable.