---
title: "Feature Highlight: Searching entries in a View"
date: 2026-02-16
author: "Casey Burridge"
link: "https://www.gravitykit.com/feature-spotlight-searching/"
---

# Feature Highlight: Searching entries in a View

In this post, we'll explore GravityView's Search Bar widget—one of the most powerful tools for helping visitors find what they're looking for in your Views.

Whether you're building a member directory, a business listing, or a searchable database, the Search Bar lets visitors filter entries using text fields, dropdowns, date ranges, and more. Here's what you can do with it.

## Adding a search bar to your View

To add a Search Bar, open your View in the editor and click **Add Widget** in one of the widget areas (above or below your View fields). Select **Search Bar**, then click the **gear icon** to configure it.

![Screenshot of the GravityView editor interface showing the 'Add Widget' option for configuring top widgets.](https://www.gravitykit.com/wp-content/uploads/2019/03/image-1-1024x387.png)The Search Bar is built using rows and columns. Click **Add Row** to create a new row, then **Add Search Field** to place fields inside it. Each row supports up to 4 columns, and you can drag and drop to reorder fields and rows however you like.

![Interface showing various search fields including Asset ID, Name, Status, and Category, with options to add search fields and a submit button.](https://www.gravitykit.com/wp-content/uploads/2019/03/image-2-1024x586.png)
*You can also control how fields are arranged within each column—either horizontally (side by side) or vertically (stacked)*

## Choosing which fields to search

By default, the Search Bar includes a single "Search Everything" field that searches across all entry data. But you can replace this with individual fields for more targeted filtering.

Click **Add Search Field** and choose from:

- **Any Gravity Forms field** on your form (text fields, dropdowns, checkboxes, etc.)
- **Entry metadata** like Entry Date, Entry ID, Entry Creator, Is Starred, or Is Read
- **Approval Status** (if you're using GravityView's powerful [entry approval feature](https://www.gravitykit.com/entry-approval/))

Each field you add becomes a separate filter that visitors can use to narrow down results.

## Input types

Each search field supports different input types depending on the field type. For example, a dropdown field might display as a **Select**, **Radio**, **Checkbox**, **Multiselect**, or **Links** input in the search bar.

![Screenshot showing the settings for a search field in GravityView, highlighting the options for labeling and input type.](https://www.gravitykit.com/wp-content/uploads/2019/03/CleanShot-2026-02-23-at-15.49.47@2x.png)For **Date fields** (including Entry Date)
, the input type is a **date range picker**, letting visitors filter entries between two dates. This is perfect for event listings, logs, or any time-based data
For **Number**, **Product**, **Quantity**, and **Total** fields, you can use a **number range** input, allowing visitors to set a minimum and maximum value.

You can also customize the label for each search field, so it doesn't have to match the original form field name.

## Search modes: Match any vs. match all

The search bar include a default **Search Mode** field. This controls how multiple filters work together:

- **Match Any Fields** — Entries appear if *at least one* field matches the search. This casts a wider net and shows more results.
- **Match All Fields** — Entries only appear if *every* field matches. This is useful when visitors need precise results, like finding Mexican restaurants specifically in New York City.

Search Mode can either be hidden (default) or made visible so users have the ability to adjust it when performing a search.

## Search modifiers

GravityView's "Search Everything" field supports search modifiers that give visitors more control over their results:

- **`+keyword`** — The entry *must* contain this term. For example, `+training` ensures only entries with "training" are shown.
- **`-keyword`** — The entry *must not* contain this term. For example, `-completed` excludes any entry containing "completed".
- **`"exact phrase"`** — Searches for an exact sequence of words. For example, `"online course"` only matches entries with that exact phrase, not entries that happen to contain "online" and "course" separately.

These modifiers work with the "Search Everything" field and can be combined for more targeted searches.

![Search bar interface displaying a search input field with the placeholder 'Search Entries' and a search button. Below, a table shows search results with columns for Description, Amount, and Category.](https://www.gravitykit.com/wp-content/uploads/2019/03/CleanShot-2026-02-23-at-16.25.51@2x-1024x400.png)

## Advanced search

The Search Bar has a built-in **Advanced Search** section where you can place additional search fields that are hidden by default. Visitors can expand this section by clicking an "Advanced Search" link when they need more precise filtering options.

This is ideal for Views with lots of filterable data, as you can keep the main search bar clean and simple while still offering power users access to additional filters.

![Search bar interface featuring input fields for Asset ID, Name, Status, and Category, along with an 'Advanced Search' link and a results table.](https://www.gravitykit.com/wp-content/uploads/2019/03/image-3.png)

## Hiding entries until a search is performed

If your View contains hundreds or thousands of entries, you probably don't want to display them all at once. Enable the **Hide View data until search is performed** setting in your View Settings, and the View will show only the Search Bar until a visitor submits a search. This is especially useful for large directories where browsing isn't practical.

![Screenshot of settings in GravityView where the option 'Hide View data until search is performed' is checked, indicating the feature will hide entries until a search is initiated.](https://www.gravitykit.com/wp-content/uploads/2019/03/CleanShot-2026-02-23-at-16.28.18@2x.png)

## Linking to search results

After performing a search, the URL in your browser updates to reflect the current filters. You can copy this URL and use it anywhere—in a link, a menu item, or on another page—to send visitors directly to a pre-filtered set of results. [Read more about linking to a search.](https://www.gravitykit.com/docs/gravityview/search/linking-to-a-search/)

## Only show choices that exist

For dropdown, radio, and checkbox search fields, you can enable a setting that limits the available options to values that actually exist in your current entries. This prevents visitors from selecting a filter option that would return zero results.

## Learn More

For a full walkthrough of the Search Bar's settings, see [Configuring the Search Bar Widget](https://www.gravitykit.com/docs/gravityview/search/configuring-the-search-bar/) in our documentation.