# Is it possible to link a Select to 2 different collection depending on a variable?

**URL:** <https://community.weweb.io/t/is-it-possible-to-link-a-select-to-2-different-collection-depending-on-a-variable/21213>\
**Category:** Ask us anything\
**Created:** [May 19, 2026, 1:14am UTC](https://community.weweb.io/t/is-it-possible-to-link-a-select-to-2-different-collection-depending-on-a-variable/21213 "2026-05-19T01:14:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SynopsisLabs](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SynopsisLabs](https://community.weweb.io/u/SynopsisLabs)\
**Post date:** [May 19, 2026, 1:14am UTC](https://community.weweb.io/t/is-it-possible-to-link-a-select-to-2-different-collection-depending-on-a-variable/21213/1 "2026-05-19T01:14:38Z")

</div>

Hi,

I have 2 select boxes on a form - the first one selects between Inbound and Outbound. If Inbound is selected, I would like the 2nd select to get populated from a Suppliers collection and if it is Outbound, I would like to use a Customers Collection.

Is it possible to change the collection depending on what has been chosen in Select #1?

If not, how best can I accomplish this?

Thanks  
Steve

---

<div class="post-metadata">

**Author:** ![Nick-wastepro](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@Nick-wastepro](https://community.weweb.io/u/Nick-wastepro)\
**Post date:** [May 19, 2026, 3:04am UTC](https://community.weweb.io/t/is-it-possible-to-link-a-select-to-2-different-collection-depending-on-a-variable/21213/2 "2026-05-19T03:04:09Z")

</div>

Hi,

I’m not sure that you can dynamically bound collections in select boxes. You may run into issues with the values you’ve mapped for the select label and value.

One way to approach this would be to have three select boxes, not two – One for each collection. You would then use conditional visibility to show/hide the relevant second select box.

So if the value of select box #1 = Inbound, then display the select box bound to the suppliers collection  
And if the value of select box #1 = outbound, then display the select box bound to the Customers collection.

Hope that helps.

---

<div class="post-metadata">

**Author:** ![SynopsisLabs](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SynopsisLabs](https://community.weweb.io/u/SynopsisLabs)\
**Post date:** [May 19, 2026, 1:27pm UTC](https://community.weweb.io/t/is-it-possible-to-link-a-select-to-2-different-collection-depending-on-a-variable/21213/3 "2026-05-19T13:27:50Z")

</div>

Hi Nick,

Thanks, I was thinking along those lines but just wanted to make sure. Got AI to do it for me and it works perfectly!

Steve
