Getting Started With the Advanced Filtering Extension

In this article, we’ll show you how to get set up with the Advanced Filtering extension. The Advance Filtering extension adds conditional logic filters to GravityView, giving you full control over which entries you display in a View.

Prefer to Watch the Video?

What Is Conditional Logic?

Conditional logic refers to a way of making decisions based on certain parameters. A typical conditional logic statement would be something like “If {field_value} contains A, then display the entry”.

A diagram showing the decision-making process involved in conditional logic

To learn more about conditional logic in Gravity Forms, read our ultimate guide to Gravity Forms conditional logic.

Installing Advanced Filtering

You can install the Advanced Filtering extension from inside WordPress. Simply hover over "GravityKit", click "Products & Licenses", scroll down to "Advanced Filtering" (under "Extensions") and click "Install Now".

GravityKit interface with option to install Advanced Filtering extension

When the extension has finished installing, click Activate. Now you can start adding advanced filtering conditions to your Views.

Adding a Filtering Condition to Your View

From inside the View Editor, scroll down to the View Settings and click on the tab that says “Filter & Sort”. Next, click on the button that says “Add Condition” underneath “Advanced Filter”.

Filter & Sort settings with options for sorting and adding advanced conditions

Now you can set up a condition to limit which entries are visible in your View. To create a condition, modify the values in the three input boxes.

An advanced filtering condition to only display entries that were created after the first of January, 2022

To add multiple conditions, click on the ‘+ AND’ button or the ‘+ OR’ button.

Adding Multiple Conditions

The Advanced Filter allows you to limit which entries are displayed in a View by combining multiple conditions. Conditions can be joined with AND or OR logic, and you can also group conditions together for more complex filtering.

Simple AND/OR Logic

Filter setup: "Created By" is "Currently Logged-in User" AND "Approval Status" is "Disapproved"

When you add more than one condition without using groups, you can decide how those conditions relate:

  • AND logic – All conditions must be true for the entry to be included.

    Example: (Created By is Current User) AND (Approval Status is Disapproved)

    → Only entries created by the current user and marked as disapproved will be shown.

  • OR logic – At least one condition must be true for the entry to be included.

    Example: (Entry Date is Today) OR (Entry Date is Yesterday)

    → Entries created either today or yesterday will be shown.

You can add as many conditions as needed, and all will follow the chosen logic.

Groups

A Group is a container for conditions. Groups give you more flexibility by allowing you to organize conditions and even nest groups inside each other.

Advanced filtering interface with conditions for user, approval, date, and entry ID

  • Every group must use one type of logic: either AND or OR.
  • Conditions inside a group follow that group’s logic.
  • Groups themselves can be combined with other groups using AND or OR.
  • You can also create groups inside groups to mix logic types at different levels.

Buttons Inside a Group

Advanced filtering interface with conditions for user, status, date, and ID using OR logic

  • OR button: Makes the group use OR logic. All conditions in the group are joined by OR.

    Example: (Condition A OR Condition B OR Condition C)

  • AND button: Makes the group use AND logic. All conditions in the group are joined by AND.

    Example: (Condition A AND Condition B AND Condition C)

  • +CONDITION: Adds another condition to the current group. The condition follows the group’s logic (AND or OR).
  • +GROUP: Adds a nested group inside the current group. Each nested group can have its own logic type (AND or OR).

Buttons Between Groups

When multiple groups exist at the same level, you can join them with AND or OR:

  • OR between groups: (Group 1) OR (Group 2)
  • AND between groups: (Group 1) AND (Group 2)

Nested Groups

You can add groups inside groups to build advanced filters. This allows you to combine simple and complex rules in the same filter.

Example:

(Created By is Current User
 OR (Approval Status is Disapproved
     AND (Entry Date is Today
          OR First Name is John))

Here:

  • The outer group uses OR.
  • The nested group uses AND.
  • Another nested group uses OR.

Advanced Filter Common Use-Cases

The Advanced Filtering extension is a powerful addition to GravityView. Here are some common use cases:

💡 Did you know? Advanced Filtering now works with Multiple Forms, so you can filter and apply conditional logic across joined forms just as easily as with a single form.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us