Trying to add client side validation - not working yet