Apparently, someone resolved my last ticket without my permission. So here it is again.
I have two post types: Tours and Volunteers
On the Tours post type, I have a repeating field for Volunteer Shifts that includes the fields Start Time, Duration, Position. This is so I can add the available shifts to the Tour.
I connected Tours and Volunteers in a Many to Many relationship using those Volunteer Shift fields
I thought what would happen is that when I add a Volunteer to a Tour that it would let me choose from a dropdown of the available Volunteer Shifts for the Tour. Is that possible? Otherwise, I'm typing them in and possibly misspelling so they don't match up. The Volunteer Shifts are a repeating field because they may be different for each Tour.
Is there any documentation that you are following?
I followed the documentation for setting up a Many to Many relationship.
Hello. Thank you for contacting the Toolset support.
I have two post types: Tours and Volunteers
On the Tours post type, I have a repeating field for Volunteer Shifts that includes the fields Start Time, Duration, Position. This is so I can add the available shifts to the Tour.
====>
ok.
I connected Tours and Volunteers in a Many to Many relationship using those Volunteer Shift fields
===>
I see you are using same fields that you added to your repeating field group to your many-to-many post relationship.
I thought what would happen is that when I add a Volunteer to a Tour that it would let me choose from a dropdown of the available Volunteer Shifts for the Tour. Is that possible? Otherwise, I'm typing them in and possibly misspelling so they don't match up. The Volunteer Shifts are a repeating field because they may be different for each Tour.
===>
No you can not use those fields inside many to many post relationship.
When you create a repeating field group, internally its managed as one to many post relationship. Where parent is the post where you added the repeating field items and child is repeting field group items itself.
What if you configure the "Volunteer shift duration (in hours)" and "Volenteer Position" fields as drop-down select field and add all required options for those fields for your many to many post-relationship fields:
=> hidden link
Then when you go to connect the post using many-to-many relationship you will have dropdown select options. Will that help?
The main problem is that the volunteer positions are unique to each tour. So I don't need to include every iteration for every tour. The dropdowns would end up being really long. I will have to play around with it.