# Lock Configuration Options - Radio Buttons

**URL:** <https://community.auth0.com/t/lock-configuration-options-radio-buttons/69308>\
**Category:** Get Help\
**Created:** [September 8, 2021, 3:45pm UTC](https://community.auth0.com/t/lock-configuration-options-radio-buttons/69308 "2021-09-08T15:45:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KJHeartbreaker](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kjheartbreaker/32/31594_2.png) [@KJHeartbreaker](https://community.auth0.com/u/KJHeartbreaker)\
**Post date:** [September 8, 2021, 3:45pm UTC](https://community.auth0.com/t/lock-configuration-options-radio-buttons/69308/1 "2021-09-08T15:45:11Z")

</div>

I am sorry if this has been asked before, but on our Universal Login, I am looking to implement some preferences that would be best suited to radio buttons. I am having a really hard time finding any documentation on this, though.

Basically, it would look like this:

```auto
{
    type: "checkbox",
    name: "option_A",
    prefill: "false",
    placeholder: "I would like to receive all updates",
},
{
    type: "checkbox",
    name: "option_B",
    prefill: "false",
    placeholder: "I would like to receive some updates",
},
{
    type: "checkbox",
    name: "option_C",
    prefill: "false",
    placeholder: "I would like to receive no updates",
}

```

Obviously, in the example, I have added checkboxes per the documentation here: [Lock Configuration Options](https://auth0.com/docs/libraries/lock/lock-configuration#additionalsignupfields-array-)

I have noticed that there are styles for radio input types -  
 ![Screen Shot 2021-09-08 at 9.40.49 AM](https://global.discourse-cdn.com/auth0/original/3X/a/a/aad8ceac9b6bacf93c165d29724fe6fa7e433d0e.png)

However, if I change the type to “radio”, all I get is the box with the prefill -

 ![Screen Shot 2021-09-08 at 9.43.27 AM](https://global.discourse-cdn.com/auth0/original/3X/e/6/e65014f099df3f9cbb17dc6595b50f95255e438f.png)

Is it possible to set up a group of radio buttons? What am I missing?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 9, 2021, 11:13pm UTC](https://community.auth0.com/t/lock-configuration-options-radio-buttons/69308/3 "2021-09-09T23:13:18Z")

</div>

Hi @KJHeartbreaker,

Welcome to the Auth0 Community!

It doesn’t look radio buttons is an option. For reference:

> <https://github.com/auth0/lock/blob/a30b27eee69654ecb30a023a15dc4c9dd5914c2a/src/connection/database/index.js#L176>

It seems like the best option would be a _select field_.

[https://auth0.com/docs/libraries/lock/lock-configuration#select-field](https://auth0.com/docs/libraries/lock/lock-configuration#select-field)

---

<div class="post-metadata">

**Author:** ![KJHeartbreaker](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kjheartbreaker/32/31594_2.png) [@KJHeartbreaker](https://community.auth0.com/u/KJHeartbreaker)\
**Post date:** [September 13, 2021, 6:45pm UTC](https://community.auth0.com/t/lock-configuration-options-radio-buttons/69308/4 "2021-09-13T18:45:23Z")

</div>

Awesome! We’ll give that a go, and thanks a bunch!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 13, 2021, 7:18pm UTC](https://community.auth0.com/t/lock-configuration-options-radio-buttons/69308/5 "2021-09-13T19:18:16Z")

</div>

No problem, let us know how it goes.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 28, 2021, 7:18pm UTC](https://community.auth0.com/t/lock-configuration-options-radio-buttons/69308/6 "2021-09-28T19:18:26Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
