# Reference Field for Multiple Items?

**URL:** <https://forum.wixstudio.com/t/reference-field-for-multiple-items/14943>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [December 8, 2017, 5:20am UTC](https://forum.wixstudio.com/t/reference-field-for-multiple-items/14943 "2017-12-08T05:20:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean-arenas](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/sean-arenas/32/1098_2.png) [@sean-arenas](https://forum.wixstudio.com/u/sean-arenas)\
**Post date:** [December 8, 2017, 5:20am UTC](https://forum.wixstudio.com/t/reference-field-for-multiple-items/14943/1 "2017-12-08T05:20:31Z")

</div>

Hello,  
Is there a way to set a Reference Field to allow multiple selections?

Using the examples given in the guide, let’s say I wanted to assign a song to genres. It might be “Rock” and “New Wave,” so how would I assign it to multiple items from the “Genres” data collection?

---

<div class="post-metadata">

**Author:** ![sean-arenas](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/sean-arenas/32/1098_2.png) [@sean-arenas](https://forum.wixstudio.com/u/sean-arenas)\
**Post date:** [December 11, 2017, 6:54pm UTC](https://forum.wixstudio.com/t/reference-field-for-multiple-items/14943/2 "2017-12-11T18:54:04Z")

</div>

Anyone at Wix able to respond to this, please?

---

<div class="post-metadata">

**Author:** ![admin-23](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/admin-23/32/708_2.png) [@admin-23](https://forum.wixstudio.com/u/admin-23)\
**Post date:** [December 12, 2017, 10:24am UTC](https://forum.wixstudio.com/t/reference-field-for-multiple-items/14943/3 "2017-12-12T10:24:20Z")

</div>

Hi Sean,

It is only possible to select one reference field at a time.  
As an alternative, you can add 2 more columns for Genre (Genre 2 and Genre 3) and add the reference there.

---

<div class="post-metadata">

**Author:** ![dor-itzhaki](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/dor-itzhaki/32/770_2.png) [@dor-itzhaki](https://forum.wixstudio.com/u/dor-itzhaki)\
**Post date:** [December 12, 2017, 10:36am UTC](https://forum.wixstudio.com/t/reference-field-for-multiple-items/14943/4 "2017-12-12T10:36:40Z")

</div>

Hi Sean,

Depending on your specific use case, I would consider adding a “Genres” text column to your “Songs” collection.  
In this column, you can keep a comma-separated list of genre names, for example:

- funk,country
- rock,metal  
etc…

You will later on be able to filter songs by their genre by using a “contains” filter for the “Genres” column.

---

<div class="post-metadata">

**Author:** ![jerry-wu](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/jerry-wu/32/2411_2.png) [@jerry-wu](https://forum.wixstudio.com/u/jerry-wu)\
**Post date:** [April 21, 2018, 1:34am UTC](https://forum.wixstudio.com/t/reference-field-for-multiple-items/14943/5 "2018-04-21T01:34:42Z")

</div>

What if the items to be associated is another item type from the database?

For example, I have teacher list and student list.  
A teacher has multiple students and a student has multiple teachers.  
How do I structure the relationship in the wix database.

Thanks in advance!  
Jerry

---

<div class="post-metadata">

**Author:** ![patrick](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/patrick/32/971_2.png) [@patrick](https://forum.wixstudio.com/u/patrick)\
**Post date:** [August 16, 2018, 4:24pm UTC](https://forum.wixstudio.com/t/reference-field-for-multiple-items/14943/6 "2018-08-16T16:24:41Z")

</div>

You can now have multiple reference items! Check it out here:

> **[You can now add multiple items to Reference Field Type | Velo by Wix](https://community.wix.com/velo/forum/wix-tips-and-updates/you-can-now-add-multiple-items-to-reference-field-type)**
>
> Introducing the feature you've been all waiting since you tried Reference Field Type – ability to add multiple items from referenced collection.
> 
> 
> Be aware that if you decide to update your current Reference field type to allow multiple items, your...
