# "all" option in drop-down element.

**URL:** <https://forum.wixstudio.com/t/all-option-in-drop-down-element/5186>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [February 15, 2023, 1:27pm UTC](https://forum.wixstudio.com/t/all-option-in-drop-down-element/5186 "2023-02-15T13:27:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajafayser1](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/rajafayser1/32/24000_2.png) [@rajafayser1](https://forum.wixstudio.com/u/rajafayser1)\
**Post date:** [February 15, 2023, 1:27pm UTC](https://forum.wixstudio.com/t/all-option-in-drop-down-element/5186/1 "2023-02-15T13:27:54Z")

</div>

im trying to create a data capture form, I have added a drop-down element or drop down menu, it displays the 3 options but also an "all option. i dont want the all option as user can select only one. please help

 ![](https://us1.discourse-cdn.com/wix/original/3X/6/f/6f6b0bc9a3bf661105aee2aa8ec23cc8be470930.png)

---

<div class="post-metadata">

**Author:** ![kevinwashington1](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kevinwashington1](https://forum.wixstudio.com/u/kevinwashington1)\
**Post date:** [April 4, 2024, 12:14pm UTC](https://forum.wixstudio.com/t/all-option-in-drop-down-element/5186/2 "2024-04-04T12:14:09Z")

</div>

I also found that to be an issue and was able to use wixData to populate the dropdown. If WIX has a solution using the dataset only

---

<div class="post-metadata">

**Author:** ![Justin\_Gaines](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/justin_gaines/32/92155_2.png) [@Justin\_Gaines](https://forum.wixstudio.com/u/Justin_Gaines)\
**Post date:** [July 23, 2024, 5:28am UTC](https://forum.wixstudio.com/t/all-option-in-drop-down-element/5186/3 "2024-07-23T05:28:53Z")

</div>

This reply didn’t help me. What was the solution to getting ‘all’ out of the selectable options again?

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [July 23, 2024, 7:13am UTC](https://forum.wixstudio.com/t/all-option-in-drop-down-element/5186/4 "2024-07-23T07:13:39Z")

</div>

There are more than 1 possibile SOLUTION.

1. You do not use a DATASET, instead you code everything.
2. You use DATASET → but you manipulate your DROPDOWN by → CODE anyway.

You will find a very similar post/issue here…

> [@Create a default filter value](https://forum.wixstudio.com/t/create-a-default-filter-value/61006/16):
>
> The simplest solution would be to generate the same function like RESET, when choosing —\> ALLE \<— How to RESET a filter running on a DATASET ? You already have it inside your code… let filter = wixData.filter(); $w('#'+dataset).setFilter(filter); Now you only need to teach your code to start the reset when dropdown has changed to → ALL \<---- $w('#'+ddn ).onChange((event)=\>{console.log('Dropdown has been changed'); // running IF-ELSE-CONDITION to check if .... // a) Dropdown-Label i…

Same problem, regarding the connected DROPDOWN to a DATASET and the → “All” value.
