# Custom profile fields, not show them on signup

**URL:** https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152
**Category:** UX
**Tags:** user-custom-fields
**Created:** [August 29, 2019, 7:52pm UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152 "2019-08-29T19:52:39Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Queth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/queth/32/154753_2.png) [@Queth](https://meta.discourse.org/u/Queth)
#### Post date: [August 29, 2019, 7:52pm UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152/1 "2019-08-29T19:52:39Z")

</div>

When defining custom profile fields there is an option to have them not mandatory at signup.

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/3/b38de2d01f80c964c9dad3a30553286d845a2bb5.jpeg)

Yet, they still show up in the signup screen. This is not desirable since

- I want the signup screen to be as simple as possible
- it gives the impression that the custom field needs to be filled in
- it gives the impression that the content of the custom field is somehow related to elegibility of membership, therefore may induce hesitation to signup.

So from an ux point of view, is it possible to have an option to have it removed from signup, yet still available as a field to enter in the profile afterwards. (Like “location” and such)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 30, 2019, 12:16am UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152/3 "2019-08-30T00:16:32Z")

</div>

This has come up a few times on meta, perhaps we should add a

`[] show at signup`

field here @sam?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [May 7, 2020, 9:32pm UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152/6 "2020-05-07T21:32:34Z")

</div>

You can use the (dasherized) field name now… so

```css
.user-field-your-field-name {
  display: none;
}

```

~~I’ll double check invites, if it isn’t the same there… it should be!~~ Yep, it’s the same on invites, you can use `.user-field-your-field-name` there too.

---

<div class="post-metadata">

### Author: ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)
#### Post date: [December 15, 2021, 7:20pm UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152/7 "2021-12-15T19:20:29Z")

</div>

+1 I’d love a `[] show at signup` option.

@Kris’s custom CSS approach doesn’t do what we want here, because if you use that technique, it hides the field _both_ on the signup form and in the profile.

My use case: we want to allow users to optionally declare their pronouns with a free-text field (because some users use unusual pronouns to refer to themselves), but a field like that is a honeypot for folks who think that “pronouns” are a political offense; new users get inspired to type something rude in the box.

We think it’s better not to show the field on signup, but to allow engaged users to set it by customizing their profile.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 15, 2021, 8:07pm UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152/8 "2021-12-15T20:07:30Z")

</div>

My CSS is pretty basic, but I think you can target just the box on the sign-up page with this:

```plaintext
.d-modal.create-account .user-field-YOUR-FIELD-NAME {
    display: none;
}

.invites-show .user-field-YOUR-FIELD-NAME {
    display: none;
}

```

And that should let you use the field as normal elsewhere.

**Edit:** I put a bit in for the invite page too, if you also use invites. 👍

---

<div class="post-metadata">

### Author: ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)
#### Post date: [December 15, 2021, 9:34pm UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152/9 "2021-12-15T21:34:31Z")

</div>

Do we need `.d-modal` here? I’d don’t want to make assumptions about how the sign up form will look in the future.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 15, 2021, 9:59pm UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152/10 "2021-12-15T21:59:37Z")

</div>

I’m afraid I don’t know the answer to that. It should be easy enough to amend if it ever changes though.

**Edit:** I’ve just tested, and removing it from the snippet above makes the box reappear, so it seems it’s needed for this particular piece to work.

Hopefully someone with more experience can chip in. 🤞

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 18, 2022, 8:35pm UTC](https://meta.discourse.org/t/custom-profile-fields-not-show-them-on-signup/127152/11 "2022-12-18T20:35:48Z")

</div>

Closed in favour of [Site setting to hide custom user fields from signup page](https://meta.discourse.org/t/site-setting-to-hide-custom-user-fields-from-signup-page/130990)
