railer
Member
I could please use a bit of advice with setting up part of a form.
As I currently have the form set up, there are four sections, each of which is a group. When submitted (without any repeats), all four sections display as a single record in my list.
The first group of the four is a repeating group with three fields in the group. One of the fields is an integer field where an admin can assign a point value to the group.
I've enabled it so that the user can repeat this group up to 10 times. But I've since learned that each repeated group creates a new record in the database.
How can I get it so that all of the repeated groups in this first section are combined somehow into a single record?
This particular repeated group allows the user to enter in their daily meals. The fields in this group are meal_log, slip_ups, and nutrition_points. The user would enter their first meal of the day. They would click Add to enter their second meal, and then click Add to enter a third meal, and so on. Later, an admin would open the record and assign a point value for each meal. I've been able to get the form to total up all of the point values for the four sections/groups and display them all in a single record, but any time I repeat a group, I get a new record for each repeated group.
There's a bit more to the form, but the above describes the immediate issue.
Is there another way to create four sections and to allow the user to repeat a set of fields?
Thanks in advance for your help.
Best,
Railer
As I currently have the form set up, there are four sections, each of which is a group. When submitted (without any repeats), all four sections display as a single record in my list.
The first group of the four is a repeating group with three fields in the group. One of the fields is an integer field where an admin can assign a point value to the group.
I've enabled it so that the user can repeat this group up to 10 times. But I've since learned that each repeated group creates a new record in the database.
How can I get it so that all of the repeated groups in this first section are combined somehow into a single record?
This particular repeated group allows the user to enter in their daily meals. The fields in this group are meal_log, slip_ups, and nutrition_points. The user would enter their first meal of the day. They would click Add to enter their second meal, and then click Add to enter a third meal, and so on. Later, an admin would open the record and assign a point value for each meal. I've been able to get the form to total up all of the point values for the four sections/groups and display them all in a single record, but any time I repeat a group, I get a new record for each repeated group.
There's a bit more to the form, but the above describes the immediate issue.
Is there another way to create four sections and to allow the user to repeat a set of fields?
Thanks in advance for your help.
Best,
Railer