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

Gravity Forms Alphabet Entry Filter Premium Add-on Setup Guide

Updated 8 min read Gravity Forms Entries & Workflow
On this page
  1. Video walkthrough
  2. Requirements
  3. Installation
  4. Create an alphabet filter
  5. The field that gives the letter
  6. How the letter is found
  7. Alphabets
  8. The bar on Frontend Entry View views
  9. The A–Z Entries block
  10. Speed
  11. Search engines and sharing
  12. Privacy and security
  13. Troubleshooting
  14. The bar does not appear above my view.
  15. An entry is under the wrong letter.
  16. The counts look different from the form’s entry total.
  17. What happens when I deactivate the add-on?
  18. A to Z for Your Gravity Forms Entries

Video walkthrough

Gravity Forms Alphabet Entry Filter: A to Z Bar for Entries and Directories
Watch: add an A to Z bar above your Gravity Forms entries, so visitors click a letter and the list narrows. Watch on YouTube

A Member directory page of the Harbourside Business Association: an alphabet bar with All 37 and the letters A to Z, 0-9 and #, each with the number of businesses under it, B selected in blue, U, V, X and # greyed out with 0; below it the search box, a Category drop-down and a Frontend Entry View table showing 1 to 3 of 3 businesses: Bluewater Dive School, Brightside Dental and Brisk Laundry with category, town and phone
The alphabet bar above a Frontend Entry View table: letter B shows the three businesses that start with B, empty letters are greyed out.

The Gravity Forms Alphabet Entry Filter Premium Add-on puts an A–Z bar above a list of Gravity Forms entries. Visitors pick a letter and see the entries whose chosen field starts with it: businesses by name, members by last name, products by title. Each letter shows how many entries it has, letters without entries are greyed out, and the chosen letter stays in the page address so every letter is a normal link. The bar works with GravityExtra Frontend Entry View views and comes with its own A–Z Entries block for a directory grouped by letter.

Requirements

  • WordPress 6.5 or newer, PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer (tested with 2.9.8 and 3.1.2).
  • Optional: GravityExtra Frontend Entry View 3.x, for the bar above its table, list and card views. The A–Z Entries block works without it.
  • An active licence key to add and change alphabet filters. Saved alphabet filters keep working without one.
  • No PHP extensions beyond what WordPress needs: the accent table is built in, so the add-on does not depend on the intl extension.

Installation

  1. Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  2. Go to Forms → Settings → Alphabet Entry Filter and enter your licence key.
  3. Open Forms → Alphabet Filters. This is where all alphabet filters live.

Create an alphabet filter

  1. Click Add alphabet filter, give it a name and choose the form, then click Continue.
  2. Under Letters, choose the field that gives the letter and the alphabet.
  3. Under Alphabet bar, decide whether to show counts and what to do with empty letters.
  4. Under Frontend Entry View views, tick the views of this form that should get the bar.
  5. Under A–Z Entries block, set the layout and the fields for the block, if you want to use it.
  6. Keep Active ticked and click Save alphabet filter. The letter preview on the right shows how the entries of the form spread over the letters, with two example entries per letter.
The Edit alphabet filter screen: name Member directory A-Z, form Member businesses, the Letters box with the field Business name, the alphabet English / Latin, a 0-9 letter, a # letter and leading words the, a, an; the Alphabet bar box with counts and greyed-out empty letters; the Frontend Entry View views box with Member directory ticked; the A-Z Entries block box with layout, fields, columns and access; and on the right a Letter preview with the bar, counts and example entries per letter
One screen for the letter field, the alphabet, the bar, the views and the A-Z Entries block, with a preview of the counts.

The field that gives the letter

Any field whose value starts with a word can give the letter: single line text, paragraph, drop down, radio buttons, e-mail, website, phone, number, hidden, post title and the parts of Name and Address fields. For drop downs and radio buttons the letter comes from the choice text that visitors see, not from the stored value, so a choice “Food & drink” with the value food is listed under F.

For people, choose the last name part of a Name field (for example “Contact person (Last)”), so Dubois and Dương are listed under D the way people expect from a printed directory. For businesses, products, places or courses, choose the name or title field.

How the letter is found

  • HTML tags are removed, and leading spaces, quotes, brackets and punctuation are skipped: “(Brackets)” and “Quoted” with quote marks are listed under B and Q.
  • Leading words you list are ignored when Ignore leading words is ticked: with the default list the, a, an, “The Harbour Café” is under H and “An Apple” under A. Add words for other languages such as le, la, les, l’, der, die, das, el, los, de or het. Words that end in an apostrophe, like l’, work without a space: “L’Oréal” is under O.
  • Upper and lower case are the same letter.
  • Accents are ignored unless the alphabet has the accented letter of its own. In English, Émile is under E and Øresund under O; in Swedish, Örebro is under Ö; in Vietnamese, Đà Nẵng is under Đ.
  • Values that start with a number go to the one “0–9” letter, to one letter per digit, or nowhere (then they appear only under All), as you choose.
  • Values that start with any other character, for example a letter from another alphabet, go to the “#” letter if you tick it.
  • Empty values have no letter; the entry appears under All only.

Alphabets

Alphabet Letters Notes
English / Latin A to Z Accented letters count as their base letter: É under E, Ö under O, Ñ under N.
Spanish A to Z with Ñ after N Ñandú is under Ñ, Nube under N.
Danish / Norwegian A to Z, then Æ, Ø, Å Ørsted is under Ø; other accents are ignored.
Swedish / Finnish A to Z, then Å, Ä, Ö Örebro is under Ö.
Vietnamese 29 letters: A Ă Â B C D Đ E Ê G H I K L M N O Ô Ơ P Q R S T U Ư V X Y Tones are ignored: Ấn is under Â, Đặng under Đ, Ừ under Ư.
Russian А to Я (29 letters) Ё counts as Е; Ъ, Ы and Ь never start a word and are left out.
Ukrainian А to Я with Ґ, Є, І, Ї Every letter of the Ukrainian alphabet that can start a word.
Greek Α to Ω Accents are ignored: Άλφα is under Α.
Custom Your own letters, in your order Up to 60 letters; a letter can have two or three characters, for example CH, LL or DZS, and is matched before the single letter.

For lists that mix scripts, for example a Vietnamese member list with some foreign names, tick Also show A–Z after the alphabet: the Latin letters that the alphabet does not have (F, J, W and Z for Vietnamese) are added after it.

The order inside a letter

Inside a letter, entries are sorted by the same text without leading words, case and accents, so “The Harbour Café” sorts as HARBOUR CAFE. Frontend Entry View views keep their own sort order (for example by date or by a column the visitor clicks); the A–Z Entries block always sorts by name.

The bar on Frontend Entry View views

Tick a view under Frontend Entry View views and the bar appears above it (or below it, or both, as set in Bar position). When a visitor picks a letter, the view shows only the entries of that letter, and everything in the view follows: the “Showing x–y of z” line, the page links, the keyword search, the drop-down filters, sorting by column, and the CSV export. A single entry opened from the list shows without the bar.

The counts on the bar follow the view, not the whole form. If the view shows only approved entries, only the visitor’s own entries, or entries that match its fixed rules, the counts show the same; and when a visitor searches for “coffee”, the counts change to the number of matching entries under each letter. Visitors who may not see the view (for example a members-only view for a logged-out visitor) get no bar and no counts.

Each view has its own letter in the page address, for example ?geaz12=b for the view with ID 12, so two views on one page do not affect each other. One alphabet filter can serve several views of the same form; each view uses one alphabet filter.

The A–Z Entries block

Add the A–Z Entries block to any page and choose the alphabet filter, or use the shortcode shown in the settings. The block needs no other add-on. Its layout, fields and access are set in the alphabet filter:

  • Directory: every letter on one page with a heading and the number of entries; the bar jumps to the letter, and each heading has a link back to the top. Up to 5,000 entries (1,000 by default).
  • Filtered list: one letter at a time with pages; the letter and the page are in the page address. It opens with all entries or with the first letter that has entries.
  • Shown under each name: up to six more fields, for example the town, the category and the website.
  • Columns: one to four columns on wide screens, one on phones.
  • Only approved entries: entries approved in Frontend Entry View (approval status “Approved”).
  • Who can see the block: everyone, or logged-in users only; others see a log-in link.
An A-Z Entries block grouped by the last name of the contact person in the Vietnamese alphabet: a bar with All 37, A, Ă, Â, B, C, D, Đ, E, Ê and the other letters with counts, empty letters greyed, and sections  with Ân and Âu, B with Bùi, C with Cao, D with Dubois and Dương, Đ with Đặng and Đỗ, each name followed by the first name, the business and the town
The A-Z Entries block as a directory in the Vietnamese alphabet: Đ, Â and Ư are letters of their own, tones are ignored.

Speed

The add-on reads the chosen field of all active entries of the form with one database query, works out the letter of each entry and keeps the result in a cached index. The next page view uses the cache, so the bar adds no extra queries per letter. The cache is refreshed the moment an entry of the form is added, edited, trashed, restored or deleted, and when the form is saved. The counts of a view are worked out from one search for the entries the visitor may see, also cached for a few minutes. An index of 50,000 entries is built in well under a second.

Search engines and sharing

Every letter is a plain link with the letter in the address, and the page is rendered on the server, so search engines can follow the letters and visitors can bookmark or share “the businesses under M”. Greyed-out letters are not links. Without JavaScript the bar works the same.

Privacy and security

  • Only users who may edit Gravity Forms forms can manage alphabet filters; saving and the row actions check a security token.
  • Letters in the address are checked against the letters of the alphabet; anything else is ignored.
  • The filter runs on the server inside the Gravity Forms entry search; nothing is filtered in the browser.
  • Without the licence, saved alphabet filters keep working; adding and changing them needs the licence.
  • Nothing is sent to an outside service.

Troubleshooting

The bar does not appear above my view.

Check that the alphabet filter is active, that it has a letter field, that the view is ticked and uses the same form, and that the view was made with the new Frontend Entry View builder. The bar is also hidden on single-entry screens and for visitors who may not see the view.

An entry is under the wrong letter.

Look at the value of the letter field: leading words such as “The” are skipped when they are in your list, and accented letters count as their base letter unless the alphabet has them. Adjust the list of leading words or pick another alphabet.

The counts look different from the form’s entry total.

On a view the counts follow the view’s rules (approval, own entries, fixed rules) and the visitor’s search. Trashed entries and entries with an empty letter field are not under any letter.

What happens when I deactivate the add-on?

Frontend Entry View shows its views exactly as before and ignores the letter in the address. Uninstalling from Forms → Settings removes the alphabet filters and the cached indexes; the views are not touched.

A to Z for Your Gravity Forms Entries

An alphabet bar with counts, local alphabets and a directory grouped by letter, for Frontend Entry View views or on any page.

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