# createArray to populate options in multi-select

**URL:** <https://community.weweb.io/t/createarray-to-populate-options-in-multi-select/18383>\
**Category:** How do I?\
**Created:** [May 23, 2025, 6:49am UTC](https://community.weweb.io/t/createarray-to-populate-options-in-multi-select/18383 "2025-05-23T06:49:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![WimDC](https://avatars.discourse-cdn.com/v4/letter/w/8e7dd6/32.png) [@WimDC](https://community.weweb.io/u/WimDC)\
**Post date:** [May 23, 2025, 6:49am UTC](https://community.weweb.io/t/createarray-to-populate-options-in-multi-select/18383/1 "2025-05-23T06:49:55Z")

</div>

I want to show ALL names from a collection “LEDEN\_ACTIEVE” to populate the options in a multiselect-field.  
I’m trying with the formula createArray, but I only get (“current value”) one name, not the array of all names in my collection.  
What’s the solution?

 ![Afbeelding1](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/ae8934cb297f4c4b4e640dd003ee1b9eac1539eb.jpeg)

---

<div class="post-metadata">

**Author:** ![Batik\_Okazov](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/batik_okazov/32/12688_2.png) [@Batik\_Okazov](https://community.weweb.io/u/Batik_Okazov)\
**Post date:** [May 23, 2025, 8:47am UTC](https://community.weweb.io/t/createarray-to-populate-options-in-multi-select/18383/2 "2025-05-23T08:47:03Z")

</div>

Hi,

try to use “leden\_actieve.data” inside the “options \>\> formula”.

You have the array already. You just need to pass it to the multiselect element and bind “Label field” == “TOON\_NAAM” and “Value field” == …id of an option…

---

<div class="post-metadata">

**Author:** ![Agustin\_Carozo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agustin_carozo/32/13231_2.png) [@Agustin\_Carozo](https://community.weweb.io/u/Agustin_Carozo)\
**Post date:** [May 23, 2025, 1:53pm UTC](https://community.weweb.io/t/createarray-to-populate-options-in-multi-select/18383/3 "2025-05-23T13:53:57Z")

</div>

Hi Wim, you are almost there!

Just like Batik said, remove the formula to create an array, as the collection is already an array.

Then you just need to click here:

 ![Screenshot 2025-05-23 at 10.53.22](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/4/41ccf87f71d12d14b5a5dc2343752965e25ac259.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![WimDC](https://avatars.discourse-cdn.com/v4/letter/w/8e7dd6/32.png) [@WimDC](https://community.weweb.io/u/WimDC)\
**Post date:** [May 24, 2025, 5:27am UTC](https://community.weweb.io/t/createarray-to-populate-options-in-multi-select/18383/4 "2025-05-24T05:27:58Z")

</div>

Thanks both for helping.

I also tried some other functions before your reply and I could get the same result with the “map”-function :

 ![2025-05-24_073008](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c934f2ae1670ccca42212519c57eaec5d669599e.png)

---

<div class="post-metadata">

**Author:** ![hughg](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@hughg](https://community.weweb.io/u/hughg)\
**Post date:** [May 26, 2025, 9:11am UTC](https://community.weweb.io/t/createarray-to-populate-options-in-multi-select/18383/5 "2025-05-26T09:11:58Z")

</div>

did you get your “Initial Value” property to work? Mine just doesn’t seem to apply the “label field” property to the collection in the “Initial Value” property

---

<div class="post-metadata">

**Author:** ![WimDC](https://avatars.discourse-cdn.com/v4/letter/w/8e7dd6/32.png) [@WimDC](https://community.weweb.io/u/WimDC)\
**Post date:** [May 28, 2025, 11:05am UTC](https://community.weweb.io/t/createarray-to-populate-options-in-multi-select/18383/6 "2025-05-28T11:05:27Z")

</div>

my initial value is binded (in the multiselect-element) with the multi-select-field of my Airtable
