enabled client side validation