Hey, so here is my problem.
What I already have:
A user can create a group and becomes the Owner. Other Users can join the group (and becomes a participants). So the group have X participants. A participant can create a new item.
My problem:
Every participant in this group should rate this item. The rating of an item is the sum of the number of ratings divided by the participants.
What i tried:
- On the screen of the item i can make a list of participants. No problem so far. But i can’t integrate an input field for the individuel rating for every participant. (I can’t link / fix an input field next to an list entry (participant), right?)
- On the screen of the item i can make input fields depending on the sum of participants. No problem so far. But i can’t integrate the names of the participants next to it, just the sum of participants.
Database:
- Users
- is participant of a Group (2)
- Group
- has “X” Users (1)
- has “X” Items (3)
- Item
- has a rating
- belongs to a group (3)
Any ideas?