# Add item to custom state list

**URL:** <https://forum.bubble.io/t/add-item-to-custom-state-list/233746>\
**Category:** Need help\
**Created:** [November 23, 2022, 3:02am UTC](https://forum.bubble.io/t/add-item-to-custom-state-list/233746 "2022-11-23T03:02:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtechaus](https://avatars.discourse-cdn.com/v4/letter/x/c0e974/32.png) [@xtechaus](https://forum.bubble.io/u/xtechaus)\
**Post date:** [November 23, 2022, 3:02am UTC](https://forum.bubble.io/t/add-item-to-custom-state-list/233746/1 "2022-11-23T03:02:21Z")

</div>

Is it possible to add something to a custom state list, just like you can do with normal data? I can not figure it out, apparently, I can only add lists to the state, and not individual items to the list.

---

<div class="post-metadata">

**Author:** ![keith](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/keith/32/56020_2.png) [@keith](https://forum.bubble.io/u/keith)\
**Post date:** [November 23, 2022, 3:19am UTC](https://forum.bubble.io/t/add-item-to-custom-state-list/233746/2 "2022-11-23T03:19:44Z")

</div>

In vanilla Bubble:

`some_list :plus item some_scalar_value`

… returns `some_list` with `some_scalar value` added to the list (as long as `some_scalar_value` is not already in the list). The (new) single value is added at the _end_ of the list. For more control over that, resort to a plugin like Floppy (actually, just Floppy - there’s no other plugin like it).

---

<div class="post-metadata">

**Author:** ![karamwise](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/karamwise/32/130206_2.png) [@karamwise](https://forum.bubble.io/u/karamwise)\
**Post date:** [November 23, 2022, 6:10am UTC](https://forum.bubble.io/t/add-item-to-custom-state-list/233746/3 "2022-11-23T06:10:49Z")

</div>

Hello @xtechaus,

I have gone through this problem. First, you need to create a custom state with the list as shown in the screenshot:

![Screen Shot 2022-11-23 at 10.49.05 AM](https://us1.discourse-cdn.com/bubble/original/3X/d/1/d165c4c0809d9c4c06639de50c7eef92ed868885.png)

Then start the workflow on the button when you want to add a list to the custom state.

![Screen Shot 2022-11-23 at 10.45.54 AM](https://us1.discourse-cdn.com/bubble/original/3X/0/b/0b923125b16e7abae58ea3641db57cc89a6947dc.png)

Afterward, save custom in your database as shown in the screenshot:

![Screen Shot 2022-11-23 at 11.05.30 AM](https://us1.discourse-cdn.com/bubble/original/3X/2/0/20c8f6c6dd9d1f94843d61c97260924ca8032264.png)

There will be options like:

1. Set-list: It will replace the old list with the new one.
2. Add-list: It will add both lists but the repeating items will be added once.
3. Add: It will simply add lists and repeating items.

I hope it will help you in resolving your issue.

If any further assistance is required please contact me on:  
LinkedIn:- [Karamjit Singh - Aprintaa - Rank First To Earn Fast! | LinkedIn](https://www.linkedin.com/in/karamjitsinghwaldi)  
Gmail:- [karamwise@gmail.com](mailto:karamwise@gmail.com)

---

<div class="post-metadata">

**Author:** ![FJP](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@FJP](https://forum.bubble.io/u/FJP)\
**Post date:** [November 23, 2022, 10:16pm UTC](https://forum.bubble.io/t/add-item-to-custom-state-list/233746/4 "2022-11-23T22:16:55Z")

</div>

Another (somewhere similar) approach is [Here](https://youtu.be/5etSE1po7J0)

---

<div class="post-metadata">

**Author:** ![xtechaus](https://avatars.discourse-cdn.com/v4/letter/x/c0e974/32.png) [@xtechaus](https://forum.bubble.io/u/xtechaus)\
**Post date:** [November 25, 2022, 4:06am UTC](https://forum.bubble.io/t/add-item-to-custom-state-list/233746/5 "2022-11-25T04:06:46Z")

</div>

thanks both of you, I will have a try at these.

---

<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:** [February 1, 2023, 3:02am UTC](https://forum.bubble.io/t/add-item-to-custom-state-list/233746/6 "2023-02-01T03:02:49Z")

</div>

Closed on February 1, 2023, 3:02am UTC

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