Validates empty fields