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

Gravity Forms List Upload Premium Add-on Setup Guide

Updated 9 min read Gravity Forms Files, Storage & Databases
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. The settings of a List field
  5. Column rules
  6. What the visitor sees
  7. Rows with problems
  8. Too many rows
  9. Phones and tablets
  10. What is read from a file
  11. CSV
  12. Excel (.xlsx)
  13. Safety
  14. Server-side validation
  15. Works with other add-ons
  16. Troubleshooting
  17. Privacy
  18. Questions
  19. Does the file go to my server?
  20. Can a visitor add more rows than I allow?
  21. Does it import entries into Gravity Forms?
  22. Does it work with a List field with one column?

Video walkthrough

Gravity Forms List Upload: Fill a List Field from a CSV or Excel File (Column Rules)
Video tutorial: Gravity Forms List Upload Watch on YouTube

The Gravity Forms List Upload Premium Add-on lets a visitor fill a Gravity Forms List field from a spreadsheet. The visitor presses a button under the list, chooses a CSV or Excel file, matches the columns of the file to the columns of the list, checks a preview and presses Fill the list. The rows appear in the list, ready to be changed, and go in with the form like any typed rows.

The file is read in the visitor’s browser. It is not sent to your site, not stored in the media library and not kept anywhere. Only the rows that end up in the list are submitted with the form, and your server checks them again against the rules you set.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer. The add-on is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • An active license key for this add-on.
  • For visitors: a current browser (Chrome, Edge, Firefox or Safari). CSV files work everywhere; Excel files need a browser that can unpack files, which every current browser can.

If Gravity Forms is missing or older than 2.9, the add-on shows a notice in the WordPress admin and does nothing else.

Install and activate

  1. Install and activate the add-on like any plugin, after Gravity Forms.
  2. Open Forms → Settings → List Upload and enter your license key.
  3. Open a form, select a List field and find the List Upload section of the General tab.
  4. Tick Let visitors fill this list from a CSV or Excel file and choose the limits and rules described below.
The List Upload settings of a List field in the form editor: file types, limits, column rules and the apostrophe protection
The settings of a List field: file types, limits, rules and protection.

The settings of a List field

  • File types: CSV and Excel (.xlsx), CSV only, or Excel only.
  • Most rows: the largest number of rows a visitor may put in the list. The default is 200 and the highest value you can choose is 2000. If the List field has its own maximum number of rows, the smaller number wins.
  • File size: the largest file the browser will open, from 1 to 5 MB. The default is 2 MB.
  • Cell length: the longest text a cell may hold. The default is 500 characters.
  • First row of the file: detect column names, always column names, or always data.
  • Rows already in the list: whether the file replaces them or is added after them. The visitor can change this each time when the list already holds rows.
  • Rows with problems: leave them out and list them, or add nothing until the file is fixed.
  • Button text: your own words for the upload button.
  • Column rules: one line per column, explained next.
  • Protect exports: on by default, explained under Safety.

Column rules

Rules are written one line per column, with the column title, a colon and the rules separated by semicolons. For example:

Email: required; email
Qty: integer; min=1; max=50
Start: date

The title is the title of the column in the List field (a List field with one column uses its field label). You can write the column number instead of the title. The rules are:

  • required: the cell must not be empty in a row that is used.
  • number and integer: a number, or a whole number. Both 1,234.50 and 1.234,50 are understood.
  • email and url: an email address, or a web address that starts with http:// or https://.
  • date: a date such as 2026-12-31, or 31/12/2026 or 12/31/2026.
  • min= and max=: the smallest and the largest number.
  • minlen= and maxlen=: the fewest and the most characters.
  • in=: one of a list, for example in=Small,Medium,Large, not case sensitive.

A rule only checks a cell that has something in it, except required. A row with nothing in any cell is ignored.

What the visitor sees

Under the list the visitor finds the upload button, a line that says how many rows and which file types are accepted, and a drop area: the file can also be dragged onto it. After a file is chosen, a panel opens.

The List Upload panel with the file columns matched to the list columns, a preview of the first rows and the button Fill the list
Match the columns, check the preview, then fill the list.
  • Sheet: for an Excel workbook with several visible sheets, a list to choose the sheet. Hidden sheets are not offered.
  • The first row holds column names: ticked when the add-on detects names. It looks for the titles of your list columns, or for a row of text above rows with numbers. The visitor can change it.
  • Match the columns: for each column of the list, a choice of the columns in the file. When the file has names that match the list column titles, they are matched whatever their order. Otherwise the columns are matched by position. A column can be left empty.
  • Preview: the first five rows as they will be added, with cells that break a rule marked in red.
  • Rows: how many rows are ready, how many have problems, and the first ten problems with their row number in the file.

Pressing Fill the list puts the rows in the list. The usual Gravity Forms add row and remove row buttons keep working, conditional logic and calculations see the new values, and the visitor can still edit any cell before sending the form.

A Gravity Forms attendee list filled with four rows from a CSV file, with the message that the rows were added
The list after the upload: every row is in the list and can still be edited.

Rows with problems

With the default setting, rows that break a rule are left out and listed, and the other rows are added. The message after the fill says how many rows were added and how many were left out. With the setting Nothing is added until the file is fixed, the button stays off while any row has a problem, which suits forms where a partial roster would be worse than none.

Too many rows

If the file, together with the rows already kept, would be more than the list may hold, the panel says so with both numbers and nothing is added. The same limit is checked on the server.

Phones and tablets

The panel is built from the same controls on every screen and fits a phone without sideways scrolling. The upload button opens the phone’s own file chooser.

What is read from a file

CSV

The reader follows the common CSV format: quoted cells, doubled quotes inside a quoted cell, new lines inside a quoted cell, and a comma, semicolon, tab or vertical bar between cells, detected from the first lines. A byte order mark is skipped, and UTF-8, UTF-16 and Windows-1252 text are read correctly. Empty lines are skipped. The file name may end in .csv, .tsv or .txt.

Excel (.xlsx)

For a workbook the add-on reads the values that Excel saved in the cells: text, numbers, true and false, and dates. Dates are turned into text such as 2026-12-31 (with the time added when the cell has one), so they match a date rule. A formula is never run; the last value saved with the cell is used. Error values such as #N/A become empty cells.

The old .xls format, Excel files with macros (.xlsm and .xlsb) and password protected workbooks are not accepted, and the visitor is told what to do instead: save the sheet as .xlsx or .csv.

Safety

Opening a file from a visitor is a place where things can go wrong, so the reader is strict:

  • Nothing is uploaded. The file is opened with the browser. There is no upload to your server and nothing is written to disk.
  • Size limits. The file size is limited on the field. A workbook may not hold more than 1000 parts, each unpacked part is limited to 25 MB and the whole workbook to 50 MB while it is unpacked. A small file that unpacks to something huge (a so-called ZIP bomb) is stopped at the limit, whatever its headers claim.
  • No macros. A workbook that has a macro part or declares macros is refused without being read.
  • No external entities. A workbook whose XML declares a document type or entities is refused before it is parsed, so no entity can be expanded and nothing outside the file is ever fetched.
  • No evaluation. Formulas are never run and no link in a workbook is followed.
  • Text only. Everything from the file is shown as plain text in the page, never as HTML, so a cell that contains markup cannot run.
  • Row and column limits. More than 50 columns, or more rows than the field allows, is refused.

A spreadsheet cell that begins with an equals sign, an at sign, a plus or a minus can become a formula when somebody later opens an export of your entries in a spreadsheet program. With Protect exports on, which is the default, the add-on puts an apostrophe in front of such a cell when the entry is saved. Numbers such as -5 and phone numbers such as +1 555 0100 are left alone. Turn the setting off if you want cells saved exactly as they were sent.

Server-side validation

The browser checks are there to help the visitor. They are not trusted. When the form is submitted, the server reads the rows from the form data and checks the number of rows, the length of every cell and every column rule, whether the rows were typed or came from a file. A row that breaks a rule gives an error on the List field in the normal Gravity Forms way, with the row number, the column and the problem, and the entry is not saved. Forms with several pages and forms sent by AJAX are handled the same way.

A List field that does not have the upload ticked is never checked by the add-on.

Works with other add-ons

The rows go into the ordinary inputs of the List field, so anything that reads a List field reads these rows: notifications, merge tags, calculations, exports, entry lists and add-ons that send the list on. If a column of the list is a drop down, a date picker or a number box, the value is placed in it as text; a drop down value that is not one of its choices stays empty, so write a rule with in= for such a column.

Troubleshooting

  • No upload button: check the license and that the box is ticked on that List field.
  • The columns are not matched by name: the title in the file must be the same as the column title in the list, apart from capital letters and punctuation. Otherwise choose the columns by hand.
  • A date comes out as a number: the cell in Excel has a general number format. Format it as a date or save as CSV.
  • A number with a comma: 12,5 and 1,234.50 are both understood by the number rule; the text is kept as it was in the file.
  • The file is refused as too large: raise the file size on the field, up to 5 MB, or split the file.

Privacy

No outside service is contacted and no table is added. The add-on does not keep the file or a copy of it; only the rows that the visitor puts in the list are submitted with the form.

Questions

Does the file go to my server?

No. It is read in the visitor’s browser. Only the rows in the list are sent when the form is submitted.

Can a visitor add more rows than I allow?

Not in the browser, and not by changing the page either: the server checks the number of rows again when the form is submitted.

Does it import entries into Gravity Forms?

No. It fills a List field of a form that a visitor is filling in. To bring existing data into Gravity Forms as entries, use an entry importer.

Does it work with a List field with one column?

Yes. The single column is matched like any other column.

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