Add form validation client side