Validator for plugin fields.