client side validation for the form