# Ocultar algunos campos personalizados de usuario en la página de nueva cuenta

**URL:** <https://meta.discourse.org/t/hide-some-user-custom-fields-from-new-account-page/108986>\
**Category:** Product Support\
**Created:** [12 Febrero, 2019 21:30 UTC](https://meta.discourse.org/t/hide-some-user-custom-fields-from-new-account-page/108986 "2019-02-12T21:30:56Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [12 Febrero, 2019 21:45 UTC](https://meta.discourse.org/t/hide-some-user-custom-fields-from-new-account-page/108986/5 "2019-02-12T21:45:03Z")

</div>

We serialize all user fields for staff members, and for the user themselves

> <https://github.com/discourse/discourse/blob/main/lib/guardian/user_guardian.rb#L105-L109>

I think @pfaffman is talking about the signup modal, where we always show all fields.

> [@pfaffman](#):
>
> `ember-xxx` tag. Is it safe to use those tags

Short answer: no 😉

The slightly safer method, if this is for a specific site, would be to use the nth-of-type selector

```plaintext
.user-fields div{
  display: none;

  &:nth-of-type(2){
    display: block;
  }
}

```

I think a PR to add `data-field-name=blah` to the div elements would be welcome.

---

_[View the full topic](https://meta.discourse.org/t/hide-some-user-custom-fields-from-new-account-page/108986)._
