Add field to a validator.