# 在用户审批审核队列中隐藏除一个自定义字段外的所有字段

**URL:** https://meta.discourse.org/t/hide-all-but-one-custom-field-in-the-user-approval-review-queue/151040
**Category:** Support
**Created:** [2020年五月11日 12:15 UTC](https://meta.discourse.org/t/hide-all-but-one-custom-field-in-the-user-approval-review-queue/151040 "2020-05-11T12:15:02Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [2020年五月19日 03:28 UTC](https://meta.discourse.org/t/hide-all-but-one-custom-field-in-the-user-approval-review-queue/151040/10 "2020-05-19T03:28:08Z")

</div>

> [@awesomerobot](#):
>
> 所以在这种情况下，没有元素选择器，只有类名，因此无法生效。但如果你添加了元素（本例中为 `div`），那么它将仅在第一个 `div` 兄弟元素也具有 `.user-field` 类时才匹配（实际上并没有，因为在此父元素内，在 user-fields 之前还有其他 `div`）。

我完全不知道你在说什么——但它确实管用，非常感谢！

这或许能帮助其他依赖自定义向导插件（Custom Wizard Plugin）在注册时使用的私人论坛用户 @Angus。

如果要显示第 2 个或第 3 个 `.user-field`，该怎么做呢？我目前不需要这样做，但将来可能会有这个需求。

---

_[View the full topic](https://meta.discourse.org/t/hide-all-but-one-custom-field-in-the-user-approval-review-queue/151040)._
