Preventing population of field if validation failed