# Value of radio buttons in repeating groups (bound collection list)

**URL:** <https://community.weweb.io/t/value-of-radio-buttons-in-repeating-groups-bound-collection-list/5573>\
**Category:** How do I?\
**Tags:** binding, select\
**Created:** [November 27, 2023, 2:14pm UTC](https://community.weweb.io/t/value-of-radio-buttons-in-repeating-groups-bound-collection-list/5573 "2023-11-27T14:14:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lilian\_vm](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@Lilian\_vm](https://community.weweb.io/u/Lilian_vm)\
**Post date:** [November 27, 2023, 2:14pm UTC](https://community.weweb.io/t/value-of-radio-buttons-in-repeating-groups-bound-collection-list/5573/1 "2023-11-27T14:14:56Z")

</div>

Hi,  
I am currently trying to find a way to create a radio-selection menu for a bound collection with these features:

- per group only one radio button can be selected
- on click of a specific radio button that value is selected

the scenario is the following:

- I have an object with several product categories
- each category has different options for sizes (e.g. S,M,L)
- for each product category I want to select one specific size (radio button) and send that value to Xano

it sounds fairly simple but somehow due to bound collection I cannot get the value of the selected size.

Does anyone know of a workaround or a way to fix this issue?  
Any tips are highly appreciated! 🙂 thank you

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [November 27, 2023, 2:49pm UTC](https://community.weweb.io/t/value-of-radio-buttons-in-repeating-groups-bound-collection-list/5573/2 "2023-11-27T14:49:00Z")

</div>

> [@Select dropdown in collection list](https://community.weweb.io/t/select-dropdown-in-collection-list/5283/2):
>
> When inputs are in a repeated element (collection list, columns ecc) you need to keep track of the values (in your case the selected values) using variables and workflows. [This guide](https://community.weweb.io/t/are-form-variables-not-visible-while-the-form-is-in-a-collection-item/1138/6) explains how to do it. [This example](https://community.weweb.io/t/checkboxes-within-a-collection-list/1379/3) is similar, but using checkboxes. You can adapt the sam principle to work with the select or any other input.

---

<div class="post-metadata">

**Author:** ![Lilian\_vm](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@Lilian\_vm](https://community.weweb.io/u/Lilian_vm)\
**Post date:** [November 27, 2023, 3:07pm UTC](https://community.weweb.io/t/value-of-radio-buttons-in-repeating-groups-bound-collection-list/5573/3 "2023-11-27T15:07:49Z")

</div>

thank you! 🙂  
the thing is that this would work if I did not have objects within objects, I believe. When I select one size for one category, the item that shows up as selected is the category, but not the size.

The structure of my data is like this:  
[  
{category\_1:  
size:[S1,M1,L1]  
},  
{category\_2:  
size:[S2,M2,L2]  
},  
{category\_3:  
size:[S3,M3,L3]  
}  
]

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [November 27, 2023, 4:57pm UTC](https://community.weweb.io/t/value-of-radio-buttons-in-repeating-groups-bound-collection-list/5573/4 "2023-11-27T16:57:00Z")

</div>

Of course a deeper data structure requires some adjustements in the way you update the variables, but it’s the same principle. Try a test on a simpler structure, even if it’s not your use case, and once you grasp the logic you can adapt it to your specific case.
