Modifying the validator to allow validation of a single field.