Validator button working fully