# Multiselect - allow to create option

**URL:** <https://community.weweb.io/t/multiselect-allow-to-create-option/16401>\
**Category:** How do I?\
**Created:** [February 11, 2025, 10:10am UTC](https://community.weweb.io/t/multiselect-allow-to-create-option/16401 "2025-02-11T10:10:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcc](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@tcc](https://community.weweb.io/u/tcc)\
**Post date:** [February 11, 2025, 10:10am UTC](https://community.weweb.io/t/multiselect-allow-to-create-option/16401/1 "2025-02-11T10:10:17Z")

</div>

How do I bind/ what do I need to create, so that I can use “allow to create option” in multiselect? I am using multiselect option and under options I bind collection data with options to select. I would like an extra option, button, where user can add it’s own option (“allow to create option”). This extra option, should work like a button, where on click, user opens a modal, where he can specify it’s new option name, description…

---

<div class="post-metadata">

**Author:** ![eliassilva](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/eliassilva/32/10517_2.png) [@eliassilva](https://community.weweb.io/u/eliassilva)\
**Post date:** [February 12, 2025, 2:03pm UTC](https://community.weweb.io/t/multiselect-allow-to-create-option/16401/2 "2025-02-12T14:03:33Z")

</div>

Hi @tcc!

You’re actually really close! I would solve this challenge like this:

1. Create a new array variable.
2. In the multi-select options field, map it to the following formula:

```auto
merge( YOUR_COLLECTION_ARRAY , ARRAY_VARIABLE )

```

1. Then in the modal, add a form with the field where the users will write their new options.
2. On form submit, use the action “Change variable value”, select the array variable to be “add to the end” and the value would be the text in the field.

Now it should work! You can take a step further by automatically selecting that new value and also saving them as future options from the collection.

Hope this helped you! 👋
