Data in repeating groups

Hi all,

Currently i’m building a repeated group which is being filled by data submitted from a filled out form.

I have the data show up in the way I would like it to, when there is one form submission.

When I submit the form a second time with different data (so a new row is added to the database) here is where I get stuck.

It adds the data to the same row, next to the data from the first time the form was submitted. Rather then only create a new row with the new data. I’ll upload a screenshot here.

In a tutorial I’ve seen an option in the “appearance” modal where the guy could select “current item first name” instead of what I could only see “each item’s first name”.

I know this is the problem, however I cant’t find the “current item first name”.

Scherm­afbeelding 2024-06-26 om 22.08.05

What am I missing?

Greatly appreciated if anyone could share some knowledge

Your text element is doing a “search for”, when you have already populated (or should have populated) the repeating group with the search for weddings.

Here is what you should do:

  • set the data source for repeating group to be “Do a search for weddings”
  • add a group inside the repeating group, set its content type to be “weddings”, and its data source to be “current cells wedding”
  • place your text inside the new group, and set the text value to be “parent groups weddings name”

When you use “each item” it is creating a list of items, so it’s displaying a list of all that items that were created (separated by a comma), not each item individually.

You need to use: item #current cell’s index. That displays each item individually in each cell.
image

Many thanks! Solved it.

Thanks for the quick response. It seemed to do the trick!

Way to go! :slight_smile:

This topic was automatically closed after 70 days. New replies are no longer allowed.