# Create Form -- Picker for BelongsToMany Relationship

**URL:** https://community.forestadmin.com/t/create-form-picker-for-belongstomany-relationship/790
**Category:** Help me!
**Created:** [August 6, 2020, 5:19pm UTC](https://community.forestadmin.com/t/create-form-picker-for-belongstomany-relationship/790 "2020-08-06T17:19:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ehubbell](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/ehubbell/32/1826_2.png) [@ehubbell](https://community.forestadmin.com/u/ehubbell)
#### Post date: [August 6, 2020, 5:19pm UTC](https://community.forestadmin.com/t/create-form-picker-for-belongstomany-relationship/790/1 "2020-08-06T17:19:30Z")

</div>

I have a belongsToMany relationship setup between bookings and services. In essence, a booking hasMany services and a service hasMany bookings. They are then connected through a booking\_services table.

That said, when I go to add a service to a booking via our Forest Admin, I’m presented with the “Create Service” form whereas what I really want is a picker that lets me choose from the services in our database.

Is this functionality supported? And, if so, how would I go about implementing this feature on our Forest Dashboard?

Thanks in advance!  
Eric

**EDIT**  
kk – I’ve found a solution for this issue. Instead of using a belongsToMany relationship to display services on a booking, I’m using the hasMany relationship to the booking\_services model. That way, Forest lets me create a booking\_service attaching the two together. This solves the underlying issue of letting admins manage those relationships.

---

<div class="post-metadata">

### Author: ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)
#### Post date: [August 7, 2020, 7:02am UTC](https://community.forestadmin.com/t/create-form-picker-for-belongstomany-relationship/790/2 "2020-08-07T07:02:31Z")

</div>

Hi @ehubbell,  
Welcome to the Forest Admin community!

Great to read that you find a solution that fits your needs.

However, in you initial models declaration (`bookings.belongsToMany(services)`), you should see 2 options by default in the creation button dropdown (“Create a new service”, “Add an existing service”).  
See the example below:  
 ![Screenshot 2020-08-07 at 08.59.56](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/7b242c82c747f38c60ee69aed00eca2fe5e96d51.png)

Feel free to share a screencast or some screenshots to let us dig into this.
