# Radio button value

**URL:** <https://forum.bubble.io/t/radio-button-value/322897>\
**Category:** Need help\
**Created:** [May 18, 2024, 4:17pm UTC](https://forum.bubble.io/t/radio-button-value/322897 "2024-05-18T16:17:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LucaP](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@LucaP](https://forum.bubble.io/u/LucaP)\
**Post date:** [May 18, 2024, 4:17pm UTC](https://forum.bubble.io/t/radio-button-value/322897/1 "2024-05-18T16:17:12Z")

</div>

Hi all,  
I’m working to create my APP in Bubble.  
On the registration page, I have the different consents created by the Radio button(Privacy, Marketing, and profiling), how do I collect the value of the radio button in the DB?

![image](https://us1.discourse-cdn.com/bubble/original/3X/8/7/87e5c46fd0b8a0458aa64390ca2e8e8951192b18.png)

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [May 18, 2024, 4:46pm UTC](https://forum.bubble.io/t/radio-button-value/322897/2 "2024-05-18T16:46:36Z")

</div>

Hi @LucaP,

You would create different fields in a database type for this, then store it as a text

---

<div class="post-metadata">

**Author:** ![LucaP](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@LucaP](https://forum.bubble.io/u/LucaP)\
**Post date:** [May 18, 2024, 4:59pm UTC](https://forum.bubble.io/t/radio-button-value/322897/3 "2024-05-18T16:59:51Z")

</div>

Thanks @johnny , I created the fields in the DB(Yes/No), but how I can save the value of each radio button:

![image](https://us1.discourse-cdn.com/bubble/original/3X/e/e/eebcb85d36136f4a489c90ae8e3d185f867babcf.png)

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [May 18, 2024, 5:01pm UTC](https://forum.bubble.io/t/radio-button-value/322897/4 "2024-05-18T17:01:53Z")

</div>

Hi @luca.percuoco ,  
You would create them as text values, if you want them as Boolean values you’ll need to probably do some work with custom states where if a radio button option is \_\_\_\_, then set a state of the Boolean value as \_\_\_\_\_\_, then when the button is pressed store the values of the states

---

<div class="post-metadata">

**Author:** ![LucaP](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@LucaP](https://forum.bubble.io/u/LucaP)\
**Post date:** [May 23, 2024, 5:36pm UTC](https://forum.bubble.io/t/radio-button-value/322897/5 "2024-05-23T17:36:20Z")

</div>

Thanks @johnny 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [July 27, 2024, 4:17pm UTC](https://forum.bubble.io/t/radio-button-value/322897/6 "2024-07-27T16:17:37Z")

</div>

Closed on July 27, 2024, 4:17pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
