Configuring the Search Bar widget
The Search Bar widget lets visitors search and filter the entries in a View. You choose the fields it offers and how they are laid out, and you set whether a search must match every field or any of them.
Note: To let visitors narrow a View by clicking options in a sidebar, with the number of matching entries next to each option, use Live Filters. Live Filters works with fields that have choices and with Number fields, and by default the results change as soon as a visitor picks an option. A View can show Live Filters and the Search Bar together, so visitors can still search by text.
Adding a Search Bar widget #
- In the View editor, click Add Widget in one of the widget areas, such as Top Widgets.

- Choose Search Bar in the list. The widget shows Needs configuration until it has search fields.
- Click the gear icon on the Search Bar to open Search Bar Settings.

A new Search Bar has no fields until you add them.
Adding fields and designing the layout #
In Search Bar Settings, search fields are placed in rows. When you add a row, you choose how it is split: one column, or two to four columns of set widths, such as 50/50 or 25/50/25.
- Click Add Row to add a row.
- In a column, click Add Search Field and choose a field.

You can move and remove what you added:
- Drag a field to move it, also into another row or column.
- Hover over a row to see its toolbar. The arrows move the row up or down, the gear opens Row Settings, and the trash icon deletes the row after you confirm.
- Hover over a field to see its arrows, which move it up, down or into the next or previous column. Duplicate this field adds a copy of it below.
Note: Submit Button is a search field too, so you can put it in any column. Special search fields lists it with the other fields that are not part of your form.
Note: A second section, Advanced Search fields shown, holds fields that stay hidden until a visitor opens them. The Advanced search section below covers it.
Column settings
Hovering over a column shows a Clear all fields link, which removes the column’s fields after you confirm, and a gear icon that opens Column Settings.

- Arrange Fields sets how the column’s fields are laid out on the page. Stacked (vertical), the default, puts each field on its own line. Side by side (horizontal) puts the fields next to each other.
- Number of Columns shows when Arrange Fields is Side by side (horizontal) and sets how many fields share a line. Auto (flexible), the default, fits as many fields on a line as there is room for and wraps the rest. 1 Column to 8 Columns put that many fields on each line.
On a phone, the fields show one per line whatever you choose.


To change how the Search Bar looks beyond these settings, such as its spacing or the size of its fields, use CSS. Styling the Search Bar widget lists the class names of every part of it.
Search field settings
To change how a field works in the Search Bar, click the gear icon on the field.

The options depend on the field type. A Drop Down field such as Technique has Show Label, Custom Label, Input type, Pre-Filter Choices, Default Value and Custom CSS Class, plus a checkbox labeled Make visible only to logged-in users?
- Pre-Filter Choices affects security, so read Only show choices in the Search Bar that exist in entries before you turn it on.
- Make visible only to logged-in users? adds a list of who sees the field, from Any Logged-In User to Administrator.
Setting a default value
A search field can start with a value already chosen, so the View opens filtered and visitors see that value in the Search Bar.
- Click the gear on the field in Search Bar Settings.
- Fill in Default Value.

What Default Value offers depends on the field:
- A field with choices, such as a drop down or radio buttons, lists its choices after No default.
- Search Everything, Entry ID and a Date field offer a text box.
- Submit Button, Search Mode, Entry Date and a Number field set to Slider have no default value.
When the View opens without a search, it lists only the entries that match the defaults.

- If you set defaults on more than one field, the search mode decides whether entries must match all of them or any of them. See Search mode.
- With Hide View data until search is performed turned on, the View stays empty until the visitor searches, even when fields have defaults.
With Show Clear button turned on in the Submit Button settings, which it is by default, the Clear button shows from that first visit. A visitor can pick another value and search, empty a field and search to drop that filter, or click Clear to list every entry.
Note: Defaults apply whenever the View opens without a search for it, including when a visitor comes back later. A search for this View in the address turns every default off, including on fields the search doesn’t use.
If Technique defaults to Wheel throwing and someone shares a link that searches Instructor for Daniel, the link lists all of Daniel’s classes, the Raku firing night included. Tracking information in a link, such as utm_source=newsletter, keeps the defaults.
A field set to Make visible only to logged-in users? applies its default only for logged-in visitors. Pre-filtering results on a View covers the other ways to limit which entries a View shows.
Supported search fields
The Add Search Field list has every form field except File Upload, Post Image, Post ID and Section fields. A Checkboxes field is listed once as a whole and once for each of its choices. The list also has these entry details:
- Entry Date: when the entry was submitted.
- Entry ID: the entry’s number.
- Entry Creator: the WordPress user who submitted the entry while logged in.
- Is Starred and Is Read: whether the entry is starred or marked as read in Gravity Forms.
- Approval Status: whether the entry is approved, disapproved or unapproved. Learn more about entry approval.
Special search fields
Some fields in the list don’t come from your form:
- Search Everything: one text box that searches all of an entry’s fields, including fields the View doesn’t show.
- Submit Button: the button that runs the search. Its settings include Show Clear button.
- Search Mode: sets whether a search must match all fields or any of them. See Search mode below.
- Geolocation Radius: covered in How to enable radius search and Showing distance and sorting by distance in radius search results. It comes with Maps, which is built into GravityView Pro. To turn Maps on or off, go to Plugins and click Features in the GravityView Pro row.
- Star Rating: listed while Ratings & Reviews is turned on.
Field-specific behavior #
The Input type setting lists the inputs a field can use, and they depend on the field type. Modifying Search Bar inputs shows how to add your own.
| Field | Input type choices |
|---|---|
| Single Line Text | A text box only |
| Number | Text, Number range, Slider |
| Date | Date, Date range |
| Drop Down, Radio Buttons | Select, Radio, Links |
| Checkboxes, Multi Select | Select, Select (multiple values), Radio, Checkbox, Links |
| Entry Date | Date range, Date |
A text box lists entries whose value contains the text, in any letter case, so lab finds Glaze Lab. Select, Radio and Links match the whole choice. To make a text search match a whole value, see How to search for an exact match.
Searching by date
Date fields and Entry Date have their own settings. Click the gear next to the field in Search Bar Settings to see them.
With Input type set to Date range, Date range layout sets how visitors pick the dates:
- Separate Pickers, the default, shows two date pickers, one for the start date and one for the end date.
- Combined Picker shows a single picker where visitors choose both dates.

The combined picker also lists preset ranges that fill in both dates with one click. They are Today, Last 7 Days, Last 30 Days, This Month, Last Month, This Week, This Year, Last Year, and the last four completed quarters, such as Q3 (2026).
- This Week starts on the day your WordPress settings use as the first day of the week.
- With GravitySearch active, the list also has Last 90 Days, Last 180 Days and Last 365 Days.

Minimum date and Maximum date limit the dates a visitor can pick. Enter a fixed date, such as 2026-12-31, or a relative date, such as -1 year. Leave them empty for no limit.
Entry Date also follows the View’s own date range, set with Filter by Start Date and Filter by End Date in the View’s Filter & Sort settings:
- Visitors can’t search outside those dates, and the Entry Date pickers use them as their limits when Minimum date and Maximum date are empty.
- To let visitors search outside the range, check Allow searching beyond the start and end date range in the same tab. The start and end dates then filter only the entries the View shows before anyone searches.
See Using relative Start Dates and End Dates for how those settings work.
Letting visitors clear a radio button field
Once visitors select a radio button in the Search Bar, they can’t deselect it. To let them clear the field, add a choice that has no value:
- Click the gear next to the field in Search Bar Settings, and set Input type to Radio. A Radio Buttons field from your form arrives in the Search Bar as Select, and the option in the next step appears only for Radio.
- Check Add a “no value” option.
- To change the choice’s text, fill in No Value Label. Left empty, the choice reads All.

The new choice comes first in the list. It’s selected whenever the field has no search value, such as on a first visit when the field has no default, as in the Level field of the earlier default value example. When a visitor picks it and searches, the search stops filtering on that field.
Search mode #
When a search has values in more than one field, the search mode decides which entries are listed. A new Search Bar has no Search Mode field, and its searches match any field.
- Match Any Fields: an entry is listed when at least one of the searched fields matches.
- Match All Fields: an entry is listed only when every searched field matches. A field left empty is skipped, so a search for Glazing in Technique with an empty Class box lists every glazing class.
To set the mode, add the Search Mode field and click its gear. Its Search Mode setting starts at Match All Fields.
- With Input type left at Hidden Field, the mode applies to every search and visitors don’t see it.
- With Radio, visitors choose Match Any Fields or Match All Fields in the Search Bar.
Matching multiple values within a single field
When a visitor picks more than one value in a Checkboxes or Multi Select field, the field matches entries that have any of those values. Match All Fields works between fields, so it still requires a match in each of the other searched fields.
For example, picking Evening and Weekend in a Format field lists the classes held in the evening or on the weekend. Adding Wheel throwing in Technique with Match All Fields keeps only the wheel throwing classes among them.
Advanced search #
Fields under Advanced Search fields shown in Search Bar Settings stay hidden on the page until a visitor clicks the Advanced Search link. Use it for filters most visitors don’t need.

Once the visitor opens it, those fields work like the rest of the Search Bar. When a search uses one of them, the page loads with the section already open.
