Hi I would like to access a field of a parent Repeated Group inside a nested repeated group, just how Loops work for example in PHP.
What I want to do:
- I loop over Projects (parent repeated group)
- In every single Project I loop over the 7 days of the week (child repeated group)
- I show the names of the days of the week: Mon, Tue, Wed, etc.
- When I click on a day for example “Mon” then I want to save: The day(child) + project(parent) inside another data type called "Packages"
What i cannot do:
When I click on “Mon” I cannot access the Project from the parent repeated group, but only the day of the week (“Mon”) from the current child repeated group (days of the week).
Is it possible to get access to the Project name of the parent repeated group inside the element of the child repeated group?