Thank you for taking the time to read my question.
I have a parent gallery with a collection as it's data source. I have nested gallery that has a different collection as it's data source.
When the users select a value from the child gallery, it is added to another collection. I want to be able to record the Name of the parent value so that I can relate the selected child values to it. In other words I want to create a one to many. Then when the user is done I can loop through the parent collection and find all the related child items and patch them.
===============
Parent Name 1
-------------------------
Child item 1 (Selected)
Child item 2
-------------------------
===============
Parent Name 2
-------------------------
Child item 1 (Selected)
Child item 2 (Selected)
-------------------------
===============
Parent Name 3
-------------------------
Child item 1
Child item 2 (Selected)
-------------------------
===============
The collection would look something like
Parent Name 1, Child item 1
Parent Name 2, Child item 1
Parent Name 2, Child item 2
Parent Name 3, Child item 3
I don't understand how to get the Parent Name when I save the selected value in the child gallery
If I'm going about this all wrong, please point me in the right direction.
Thanks!

Report
All responses (
Answers (