# Repeating group for user preferences with update function

**URL:** <https://forum.bubble.io/t/repeating-group-for-user-preferences-with-update-function/328655>\
**Category:** Questions\
**Created:** [June 27, 2024, 12:15pm UTC](https://forum.bubble.io/t/repeating-group-for-user-preferences-with-update-function/328655 "2024-06-27T12:15:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Munzem](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Munzem](https://forum.bubble.io/u/Munzem)\
**Post date:** [June 27, 2024, 12:15pm UTC](https://forum.bubble.io/t/repeating-group-for-user-preferences-with-update-function/328655/1 "2024-06-27T12:15:08Z")

</div>

Hi,

I need your support as a newby. I have some preferences as obtions in my database e.g. sports as option-set and options soccer, tennis, badminton.

I want to create a settings page where the user can choose from the option-set and choose the option which is then updated in user preferences. If he chosses just two of three options, then next time the page is opened, only two of three options are choosen and he can update his preferences again and update to his user. How can I achive this? Any plugin or idea? Thanks a lot!!

---

<div class="post-metadata">

**Author:** ![davidb](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@davidb](https://forum.bubble.io/u/davidb)\
**Post date:** [June 27, 2024, 12:23pm UTC](https://forum.bubble.io/t/repeating-group-for-user-preferences-with-update-function/328655/2 "2024-06-27T12:23:11Z")

</div>

Save the user’s selected sports options as a list in a field for the User data type. On the relevant page, reference that list from the Current User’s record in filtering data for display.

---

<div class="post-metadata">

**Author:** ![Munzem](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Munzem](https://forum.bubble.io/u/Munzem)\
**Post date:** [June 27, 2024, 1:13pm UTC](https://forum.bubble.io/t/repeating-group-for-user-preferences-with-update-function/328655/3 "2024-06-27T13:13:13Z")

</div>

thanks david. I want both steps in one page. Mean i have three buttons on a page. If I mark two of them and then update, they will be updated to user data type and the options should stayed as marked. Hope I could explain it better now.

---

<div class="post-metadata">

**Author:** ![davidb](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@davidb](https://forum.bubble.io/u/davidb)\
**Post date:** [June 27, 2024, 9:22pm UTC](https://forum.bubble.io/t/repeating-group-for-user-preferences-with-update-function/328655/4 "2024-06-27T21:22:08Z")

</div>

> [@Munzem](#):
>
> and then update, they will be updated to user data type

Create a workflow that saves the user’s selections to the field I suggested.

> [@Munzem](#):
>
> the options should stayed as marked.

Set the default value of whatever element(s) you’re using to represent the options to reflect the options saved in the Current User’s record.

> [@Munzem](#):
>
> three buttons on a page

There are lots of ways to allow the user to select options. If you’re currently using a separate button or other element for each option, you may find it easier to use a single [Multiselect Dropdown](https://manual.bubble.io/core-resources/bubble-made-plugins/multiselect-dropdown) element.

---

<div class="post-metadata">

**Author:** ![Munzem](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Munzem](https://forum.bubble.io/u/Munzem)\
**Post date:** [June 28, 2024, 10:03am UTC](https://forum.bubble.io/t/repeating-group-for-user-preferences-with-update-function/328655/5 "2024-06-28T10:03:19Z")

</div>

Thanks that helped, but last thing which is not working is to set the default value to represent the options to reflect the options saved in the Current User’s record.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/e/fe3346200f8f00007d235af0573044383734592f.png)  
Where is my error?

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [June 28, 2024, 10:06am UTC](https://forum.bubble.io/t/repeating-group-for-user-preferences-with-update-function/328655/6 "2024-06-28T10:06:09Z")

</div>

Just set the default value to the current user’s value (of the relevant field).
