Handles case when there is no text in validator.