Showing Repeater fields in a View
A Repeater field in Gravity Forms holds a group of fields that a visitor fills in once for each row, such as one row per person a school signs up for a conference. This guide covers two ways to show those rows in a View, and what search, sorting, Edit Entry, export, the REST API and Maps do with them.
The Repeater field is in the Gravity Forms form editor from Gravity Forms 3.2.
Let’s use a conference’s group registration form as an example:
- Organization, a Single Line Text field
- Attendees, a Repeater field with Attendee (a Name field), Email, Session (a Drop Down field), Ticket (a Single Product field) and Mailing address (an Address field) inside it
Method 1: Show the fields inside the Repeater as columns #
You can add each field inside a Repeater to a View on its own. In a Table View, every row of the Repeater then gets a table row of its own.
- Edit your View.
- On the Multiple Entries Layout tab, click Add Table Column.
- Find the Repeater in the list. The fields inside it are listed under it. Click the first one you want, such as Attendee.

- Add the other fields the same way. In the layout, each one shows the Repeater’s name after its own, such as Email (Attendees).
- Click Update.

The entry’s own columns, here Organization, span all of its rows. An entry with no rows gets one row with empty cells.
A Name, Address or Product field inside the Repeater shows its whole value in each row. One part of it, such as First under Attendee, can also be a column of its own.
Other layouts show the same fields this way:
- On an entry’s own page (the Single Entry Layout tab), each field lists its values from the rows under its label.
- In a List View and in a DataTables View, each field holds its values from the rows, with a line between them.
These layouts skip a row that has no value for the field, so they list only the rows that have one.
Method 2: Show the whole Repeater as one field #
Add the Repeater itself, here Attendees, the same way you add any field. It shows every row of the entry, with the label and value of each field inside it. A Product field inside the Repeater isn’t part of it, so add Ticket as a field of its own to show prices.
To change what the Repeater shows, click the gear icon on the field.

| Setting | What it does |
|---|---|
| Maximum results | Shows only the first rows, up to the number you type, and the same number in each Repeater inside this one. Leave it empty to show every row. |
| Hide nested repeater results | Leaves out any Repeater inside this Repeater, so only this Repeater’s own fields show. |
| Show “X more results” text | With Maximum results set, adds the number of rows left out after the rows it shows, such as “1 more result”. The setting is there only while Hide nested repeater results is off. |
Fields kept from visitors #
In Gravity Forms, each field has a Visibility setting. Inside a Repeater, a field set to Hidden never shows in the Repeater field. Users who can edit entries in Gravity Forms, such as administrators, also see the fields set to Administrative, and nobody else does.
The Repeater’s merge tag, such as {Attendees:10}, and the {all_fields} merge tag in a Custom Content field leave out the same fields, apart from Product fields, which they keep.
A field inside the Repeater that you add as a column of its own, or name in a merge tag of its own, shows to everyone who can see the View, whatever its Visibility. Restricting a View to logged-in users or user roles shows how to keep such a column from visitors with the column’s own visibility setting.
Searching and sorting #
To search the rows, add the Repeater itself to the Search Bar, here Attendees, or one field inside it, such as Session shown as a drop-down. The search finds an entry when any of its rows matches. The View then shows that entry’s rows as usual, so with Maximum results set, the row that matched can be among the rows left out.
The Repeater’s search box looks through the fields inside it, including any Repeater inside it, even when the View doesn’t display them. It skips fields set to Hidden, and it searches fields set to Administrative only for users who can edit entries in Gravity Forms. A text value matches in part, so Okaf finds Okafor, while a drop-down inside the Repeater, such as Session, matches only a whole choice, such as Full day.
A Search Everything box looks through every field of the entry, including the fields inside the Repeater set to Hidden or Administrative. With Search in visible fields only checked on the View Settings tab, it skips the Hidden ones, and it searches the Administrative ones only for users who can edit entries in Gravity Forms.
When you add a field inside the Repeater to the Search Bar on its own, or show it as a column of its own, everyone can search it, whatever its Visibility.
Visitors can’t sort a table by the Repeater or a field inside it. Those column headers have no sort link, even with Enable sorting by column on.
To order the View by a field inside the Repeater, choose it in Sort by field on the Filter & Sort tab. Each entry takes its place from the value in its first row, and in ascending order the entries without rows come first. Sorting results by field value covers the other sort settings.
Editing the rows #
Edit Entry leaves out a Repeater that holds a Product field, and its rows stay as they are. The example’s Attendees holds Ticket, so users can’t edit its rows there.
A Repeater without such fields can go on the Edit Entry Layout tab. Edit Entry then shows each row, with buttons to add a row or remove one. Configuring the Edit Entry screen lists every kind of field that keeps a Repeater out of Edit Entry.
Exporting and the REST API #
In a CSV or TSV file from the View, which Exporting entries as CSV or TSV from GravityView sets up:
- A field inside the Repeater is one cell per entry, with the value of each row separated by a semicolon, such as
Full day;Morning workshops. A row without a value keeps its place, so the values at the same position in each column belong to the same row. - The Repeater itself is one cell that holds each row as plain text, one
Label: valueline per field. It holds every row, whatever Maximum results is set to. - The Repeater’s own cell leaves out fields set to Hidden. Fields set to Administrative are in it only when a user who can edit Gravity Forms entries downloads the file.
- A field inside the Repeater that you add as a column of its own follows that column’s visibility setting in the View.
- To export a Product field inside the Repeater, such as Ticket, add it as a column of its own. Each row then gives its name, quantity and price, such as
Ticket, Qty: 1, Price: $95.00.
For a spreadsheet with a line for each row of the Repeater, use GravityExport, as Exporting Repeater fields with GravityExport shows.
In the entries endpoint of the GravityView REST API, a field inside the Repeater returns a list with one value per row. A Name, Address or Product field returns one object per row, by input ID. Here is part of one entry, with Attendee (field 11) and Session (field 13):
{
"1": "Lakeshore Public Library",
"11": [
{ "11.3": "Maya", "11.6": "Okafor" },
{ "11.3": "Daniel", "11.6": "Brooks" }
],
"13": [ "Full day", "Morning workshops" ]
}Repeater addresses and Maps #
To put entries on a map with the Maps feature in GravityView Pro, use an Address field outside the Repeater, as Getting started with the Maps Layout explains. Maps saves one map position for each Address field of an entry, while an Address field inside a Repeater holds an address for each row.
Maps leaves such a field out: the Address Fields setting of a Maps View doesn’t offer it, and the Gravity Forms entry screen shows no geocoding box for it.