# Allow user to choose group on registration page

**URL:** https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733
**Category:** Support
**Created:** [6월 15, 2016, 11:36오후 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733 "2016-06-15T23:36:52Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![debynory](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@debynory](https://meta.discourse.org/u/debynory)
#### Post date: [6월 15, 2016, 11:36오후 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/1 "2016-06-15T23:36:52Z")

</div>

Hi all,

I would like to know if it’s possible add a dropdown on the registration page to allow to user to choose his group.

For example: You are a: “seller” / “buyer”

Thank you in advance

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [6월 20, 2016, 3:00오후 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/2 "2016-06-20T15:00:57Z")

</div>

`/admin/customize/user_fields` will get you pretty close to what you’re after. If you also need it to be an actual user group then that’s a bit trickier. If it’s possible to run queries against custom fields then this would be doable by setting up a custom badge query. cc [@team](https://meta.discourse.org/groups/team)

related:

[https://meta.discourse.org/t/custom-user-fields-and-their-values-not-related-by-id-in-database/29146?u=erlend\_sh](https://meta.discourse.org/t/custom-user-fields-and-their-values-not-related-by-id-in-database/29146)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2월 2, 2019, 3:19오전 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/3 "2019-02-02T03:19:34Z")

</div>



---

<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: [2월 2, 2019, 3:26오전 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/4 "2019-02-02T03:26:41Z")

</div>

Kind of an interesting request @sam though being able to join on the group page in a nice clean understandable way is step one.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 2, 2019, 8:11오전 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/5 "2019-02-02T08:11:29Z")

</div>

I think that is already the case, some groups can be self service as well

---

<div class="post-metadata">

### Author: ![Joshua\_Kogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshua_kogan/32/127595_2.png) [@Joshua\_Kogan](https://meta.discourse.org/u/Joshua_Kogan)
#### Post date: [6월 5, 2019, 7:07오후 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/6 "2019-06-05T19:07:57Z")

</div>

Were you able to accomplish requiring a user to join a group during registration? If so, how? @debynory

---

<div class="post-metadata">

### Author: ![Joshua\_Kogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshua_kogan/32/127595_2.png) [@Joshua\_Kogan](https://meta.discourse.org/u/Joshua_Kogan)
#### Post date: [6월 5, 2019, 7:10오후 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/7 "2019-06-05T19:10:34Z")

</div>

@erlend_sh this link isn’t working. Do you currently know of anyway of requiring group choice during registration? Thanks in advance!

---

<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: [6월 5, 2019, 7:15오후 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/8 "2019-06-05T19:15:10Z")

</div>

If you have an external login system (SSO) you can sort users into groups that way at account creation using our API, otherwise you’d need a custom plugin to be able to do it in using Discourse’s native login system.

---

<div class="post-metadata">

### Author: ![Joshua\_Kogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshua_kogan/32/127595_2.png) [@Joshua\_Kogan](https://meta.discourse.org/u/Joshua_Kogan)
#### Post date: [6월 5, 2019, 7:21오후 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/9 "2019-06-05T19:21:46Z")

</div>

I see. I’ll definitely look into it. Do you recommend simple method to go about this? Coding is brand new to me, but I’m a good student and willing to do the hard work. Any suggestions would be greatly appreciated.

---

<div class="post-metadata">

### Author: ![roemer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roemer/32/191909_2.png) [@roemer](https://meta.discourse.org/u/roemer)
#### Post date: [6월 9, 2021, 3:33오후 UTC](https://meta.discourse.org/t/allow-user-to-choose-group-on-registration-page/45733/10 "2021-06-09T15:33:47Z")

</div>

@awesomerobot 크리스님, 힌트가 정말 도움이 됩니다. 이런 커스텀 플러그인을 어디서 찾거나 어떻게 만들 수 있는지 혹시 아이디어가 있으신가요?
