🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Entry Tables Premium Add-on Setup Guide

Updated 10 min read Gravity Forms Entries & Workflow
On this page
  1. Video walkthrough
  2. What You Get
  3. Requirements
  4. Install and Activate
  5. Add the Feed
  6. Add Mode: One Row per Entry
  7. Entries from before the feed
  8. Rebuild Mode: the Table Is the Entries
  9. The Table Stays TablePress’s
  10. Privacy
  11. Cells are plain text
  12. Entry Notes and the Entry Box
  13. Payments
  14. For Developers
  15. Limits to Know
  16. Frequently Asked Questions
  17. Do I need the paid TablePress extensions?
  18. Will rows I edit in TablePress survive?
  19. Can two feeds fill the same table?
  20. What if I delete the table in TablePress?
  21. Does it send data outside my site?
  22. Can visitors submit and see the table at once?

Video walkthrough

Gravity Forms TablePress: Turn Entries into Public Table Rows with the Free Plugin
Gravity Forms entries become rows of a free TablePress table Watch on YouTube

Entry Tables joins Gravity Forms and the free TablePress plugin. A feed on your form fills a TablePress table with the entries, so a volunteer roster, a member directory, an event guest list or a price request log can sit on a page as a normal TablePress table, with TablePress search, sorting, paging and styling. You choose the columns, what goes in, and whether each entry becomes a row or the whole table is rebuilt from the entries.

A public page with a TablePress table of volunteers: the header row from the field labels, the rows from the entries, TablePress search box and sortable columns
The table on your page is a normal TablePress table: its own search, sorting, paging and styling.

What You Get

  • A feed called Sync entries to a TablePress table: pick an existing table or let the feed create a new one.
  • A column map: one row per column, with your own header text or the field label, and any form field, any part of a field (for example only the last name) or entry values such as the entry ID, date, status, user and payment.
  • Two ways to fill the table: add each entry as a row or rebuild the table from the entries.
  • In add mode every row is found again by the entry ID, so an edited entry replaces its row, and a trashed, spam or deleted entry removes it. A restored entry comes back.
  • In rebuild mode filters (active, spam or trashed entries, only paid entries, dates, up to three field rules), an order (date, ID or a field, with numbers sorted as numbers) and a row limit. The table is rebuilt after each change, on a WP-Cron schedule and on demand.
  • TablePress stays in charge of the display. The add-on never changes the table name, the description or any display option.
  • A privacy list and a clear warning that a TablePress table is public, and safe cells: a value is always written as text.
  • Conditional logic, entry notes, a box on the entry screen, and a notice when TablePress is missing or too old.

Requirements

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer.
  • The free TablePress plugin, version 2.0 or newer. This version was tested with TablePress 3.4.1.
  • A GravityExtra license key.

Install and Activate

  1. Install and activate Gravity Forms and the free TablePress plugin if they are not active yet.
  2. Upload and activate the Gravity Forms Entry Tables Premium Add-on.
  3. Go to Forms → Settings → Entry Tables, enter your license key and press Activate. The page then shows the TablePress version it found and how many tables there are.

If TablePress is missing, too old or switched off, a notice on the Forms screens says so. Your forms keep working and the entries are saved, but no table is filled.

Add the Feed

Open Form Settings → Entry Tables, press Add New and fill in the sections.

The Entry Tables feed settings in Gravity Forms: the TablePress table, how the table is filled, the column map, the privacy warning with the list of fields to leave out, the row limit and the condition
One feed: choose the table, map the columns and leave out what must stay private.
Setting What it does
TablePress table Choose one of your tables, or Create a new table and give it a name. The new table is made when you save the feed, with the header row already in it and with TablePress’s default options.
How the table is filled Add each new entry as a row, or rebuild the whole table from the entries.
Which columns Choose the columns yourself, or take every field of the form with the field label as the header.
Column map One row per column, in the order of the table. Leave the header empty to use the field label. Pick the field or entry value for each column.
Extra columns In the every-field mode: add the entry ID, the entry date or the entry status as the first columns.
Links Turn website, e-mail and file upload values into links. On by default.
Never put these fields in the table A ticked field is left out even when it is in the column map.
Row limit The most data rows the table keeps. Empty means the highest allowed, 5000. In add mode the oldest rows go when the table is full.
New rows go at The bottom of the table, or the top under the header (add mode).
Condition Use the feed only when the conditional logic you set is met.

Add Mode: One Row per Entry

In add mode a new entry becomes a row at once. The add-on keeps the entry ID in a helper column so it can find the row again: if your column map has the entry ID, that column is used. If not, a last column called Entry ID (hidden helper column) is added and hidden with TablePress’s own column visibility, so visitors never see it.

  • Edit an entry in the entry editor, or by code, and its row is replaced. The rest of the table is not touched, so rows you edited by hand elsewhere stay as they are.
  • Trash an entry or mark it as spam and its row is removed. Restore it and the row is added again at the place new rows go.
  • Delete an entry and its row is removed.
  • An entry that stops matching the feed condition loses its row, and an entry that starts to match gets one.

A table that already has data keeps it. The add-on adds rows below (or above) your own rows, but only when the table has as many columns as the feed makes. If the numbers differ the add-on refuses to write, tells you in the entry notes and leaves the table as it is. A table you just made in TablePress, with its one empty cell, is accepted and gets its header row from the first entry.

Entries from before the feed

The feed list has an Add missing entries link for feeds in add mode. It adds every active entry that is not in the table yet, oldest first, once each, and tells you how many rows it added. Press it again and it adds nothing.

Rebuild Mode: the Table Is the Entries

In rebuild mode the whole table is made from the entries every time: the header row, then one row per entry that passes your filters, in your order. It replaces everything in the table, including rows typed by hand, so use add mode for a table that people also edit.

The rebuild settings of the feed: which entries, payment, date, up to three field rules, the order, when to rebuild and an optional schedule
Rebuild mode adds filters, an order, a row limit and a schedule.
Setting What it does
Entries Active entries (the usual choice), spam entries or trashed entries.
Payment Any entry, or only paid entries. An entry whose payment completes later joins the table when its payment status changes.
Date All dates, the last number of days (today included), or a date range.
Rules Up to three rules on fields: is, is not, contains, is greater than, is less than. Every rule must match.
Order by The entry date, the entry ID or a field. Number, quantity, price, total and calculation fields are sorted as numbers, so 100 comes after 20.
Row limit Keeps only the first rows of the order, for example the ten newest or the five largest.
When to rebuild After a new entry, an edit, a status change or a delete (the default), and optionally on a schedule: every hour, twice a day, every day or every week.

The scheduled rebuild uses WP-Cron, which runs when your site gets a visit, like every other WordPress scheduled task. The Rebuild now link in the feed list rebuilds at once and says how many rows the table has. Turning off the schedule or deleting the feed removes the planned event, and a feed that is switched off is not rebuilt.

The Table Stays TablePress’s

The add-on writes the rows through the table model of TablePress: it loads the table, replaces the data and saves it. TablePress then does what it does for any save: it clears the output cache of the table and the caches of the common caching plugins. The name, the description and every display option of the table are left as the owner set them: the DataTables search, sorting and paging, the extra CSS classes, printing the name, alternating row colors. Column visibility is kept when the number of columns is the same.

Show the table on a page with the TablePress block or its shortcode. The feed screen shows the shortcode of the chosen table and a link that opens the table in TablePress.

[table id=5 /]

Privacy

A TablePress table is public. Everything in the table is shown to every visitor on each page where the table is embedded, it is stored in the table, and it is in the table exports. Think about each column before you map it.

  • Tick the fields in Never put these fields in the table. They are left out even when they are in the column map or the every-field mode.
  • Passwords, card fields, signatures, sections, HTML blocks, captcha fields and repeaters are never written.
  • The visitor’s IP address is not offered as a column.
  • Only the entry values you choose become cells. The entry itself stays in Gravity Forms and is not changed.

Cells are plain text

Everything a visitor types is written as text. HTML is shown as typed. A value that starts with an equals sign is not calculated, although TablePress calculates cells that start with one. Square brackets are written so that no shortcode inside a cell runs, although TablePress runs shortcodes in cells. What the visitor sees is exactly what was typed. Website, e-mail and file upload values are the only values turned into links, and only web and mail addresses become links.

Entry Notes and the Entry Box

Each change gets a note on the entry: row added, row updated, row removed, table rebuilt, or the reason a row was not written. A box on the entry screen names the table that holds the row and links to it in TablePress.

Payments

If your payment add-on has the option to run feeds only after the payment is completed, tick the Entry Tables option there too. The row then waits until the payment is complete, and rebuilds with the paid-only filter pick the entry up when its payment status changes. A column can show the payment status, the payment amount or the transaction ID.

For Developers

Change a row before it is written, change the whole table data before it is saved, or lower the highest row count.

// Change a row before it is written (the row is a list of finished cells, one per column).
add_filter( 'gftp_row', function ( $row, $entry, $form, $meta ) {
    $row[0] = strtoupper( $row[0] ); // for example the first column in capitals
    return $row;
}, 10, 4 );
// Change the whole table data before it is saved, or lower the highest row count (default 5000).
add_filter( 'gftp_table_data', function ( $data, $feed, $form ) {
    return $data; // $data is a list of rows; row 0 is the header
}, 10, 3 );
add_filter( 'gftp_max_rows', function () { return 1000; } );

The add-on uses TablePress::$model_table: load, get_table_template, add, prepare_table and save. It does not write TablePress tables in the database by itself. It also uses the Gravity Forms hooks gform_post_update_entry, gform_after_update_entry, gform_post_update_entry_property and gform_delete_entry to follow the entries.

Limits to Know

  • Rebuild mode replaces the whole table. Use add mode for a table that is also edited by hand.
  • The table is written when the entry changes through the entry editor, the Gravity Forms API (update entry), a status change or a delete. A single field changed by code with the field update function sets no Gravity Forms hook, so no feed can follow it.
  • TablePress renders the whole table in the page. The highest row count is 5000 for that reason (a filter can lower it).
  • A table with another number of columns than the feed makes is never written to in add mode.
  • The add-on does not read a table back into Gravity Forms.

Frequently Asked Questions

Do I need the paid TablePress extensions?

No. The add-on works with the free TablePress plugin from wordpress.org. Its extensions for filtering, responsive tables and the like work on the table as on any other table.

Will rows I edit in TablePress survive?

In add mode yes: only the row of the entry that changed is replaced. A row you edited by hand is replaced if the entry itself is edited later. In rebuild mode the table is made from the entries again, so hand edits are replaced.

Can two feeds fill the same table?

Not at the same time: each feed expects the table to be its own. Make a table for each feed. The same form can have as many feeds, and tables, as you need.

What if I delete the table in TablePress?

The entries are still saved. The feed list marks the table as missing, and each entry gets a note that the table does not exist. Choose another table in the feed.

Does it send data outside my site?

No. Everything happens on your own site. Only the license check talks to gravityextra.com, when you press Activate.

Can visitors submit and see the table at once?

Yes. The row is written when the form is sent, and TablePress shows the new table at once because it clears its own caches when the table is saved.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr