# Add more than one item in the list type custom state

**URL:** <https://forum.bubble.io/t/add-more-than-one-item-in-the-list-type-custom-state/189031>\
**Category:** Questions\
**Created:** [January 31, 2022, 12:26am UTC](https://forum.bubble.io/t/add-more-than-one-item-in-the-list-type-custom-state/189031 "2022-01-31T00:26:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardo3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ricardo3/32/119760_2.png) [@ricardo3](https://forum.bubble.io/u/ricardo3)\
**Post date:** [January 31, 2022, 12:26am UTC](https://forum.bubble.io/t/add-more-than-one-item-in-the-list-type-custom-state/189031/1 "2022-01-31T00:26:29Z")

</div>

I have a **custom state of type (list)**, but I need to include in this list, an item more than once, but the Bubble does not accept :Plus Item - It only adds, if it is not in the list. _ **Is there any solution for this, including the item, even though it is already in the Custom State?** _

---

<div class="post-metadata">

**Author:** ![paul29](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@paul29](https://forum.bubble.io/u/paul29)\
**Post date:** [January 31, 2022, 2:18am UTC](https://forum.bubble.io/t/add-more-than-one-item-in-the-list-type-custom-state/189031/2 "2022-01-31T02:18:08Z")

</div>

the work around that I have used for this is to have another custom state set right before your list custom state gets set which appends a unique identifier at the end.  
For example if your list is:  
apple  
banana  
carrot

and you want to add banana again, you append a “.1” or “|1” or “\_1” so that your new list will be:  
apple, banana, carrot, banana\_1

then when you want to read from the list, you extract with regex everything before the “\_”.

N.B., ideally all items in the list should have the same format (i.e. apple\_1, banana\_1, carrot\_1, banana\_2…)

There could be a better work around but you are right, bubble does not allow for duplicates in lists

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [January 31, 2022, 3:00am UTC](https://forum.bubble.io/t/add-more-than-one-item-in-the-list-type-custom-state/189031/3 "2022-01-31T03:00:13Z")

</div>

A simple trick is to add them in a csv list (single test string) and split them by comma that will convert this to a list of text

---

<div class="post-metadata">

**Author:** ![paul29](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@paul29](https://forum.bubble.io/u/paul29)\
**Post date:** [January 31, 2022, 3:13am UTC](https://forum.bubble.io/t/add-more-than-one-item-in-the-list-type-custom-state/189031/4 "2022-01-31T03:13:17Z")

</div>

This is a better work around than mine

---

<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:** [January 31, 2022, 4:27am UTC](https://forum.bubble.io/t/add-more-than-one-item-in-the-list-type-custom-state/189031/5 "2022-01-31T04:27:03Z")

</div>

Or you could use List Shifter instead of a custom state. List Shifter has a “Custom List” output and you can push items onto the Custom List using the “SET Custom List” Action in conjunction with the “Concatenate List” option set to “yes”. Like so:

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

---

<div class="post-metadata">

**Author:** ![ricardo3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ricardo3/32/119760_2.png) [@ricardo3](https://forum.bubble.io/u/ricardo3)\
**Post date:** [March 16, 2022, 10:34pm UTC](https://forum.bubble.io/t/add-more-than-one-item-in-the-list-type-custom-state/189031/6 "2022-03-16T22:34:34Z")

</div>

Thanks Bubblers for the support.
