bug 927 - client side validation - fixed