fixed issue #35 client side form validation and hints
 fixed issue #35 client side form validation and hints