Answer: It is perfectly reasonable to do this. I have done this in several applications where client side validation simply isn't sufficient. The only point to note is that you must also validate the data, when the post back occurs in your web form Or a user who disables javaScript will be able to bypass your dataValidation, and this would be bad. VERY VERY Bad; for security reasons.