Using Advanced Filtering with Multiple Forms
On a View that joins forms, Advanced Filtering conditions and field conditional logic can use the fields of every joined form, as well as the primary form’s. Getting started with Advanced Filtering explains conditions, and Getting started with Multiple Forms explains joins.
Advanced Filtering and Multiple Forms are built into GravityView Pro. To turn them on or off, go to Plugins and click Features in the GravityView Pro row.
Watch the video
Filter by a joined form’s field #
- Edit the View and open the Filter & Sort tab.
- Under Advanced Filter, click Add Condition.
- Choose the joined form in the first drop-down, then its field in the drop-down under it.
- Choose an operator and enter a value.
- Click Update.
In this example, a pottery studio’s Shop orders form is joined with its Studio members form on the Email field. The condition shows only the orders from members whose City is Portland, wherever the order was shipped.


The form drop-down appears once the View has a join. It updates when you add, remove, or change a join, also on a new View you haven’t saved yet.
Conditions are part of the View’s settings, so visitors can’t change them. To let visitors narrow a joined View by a joined form’s field, use Live Filters. Multiple Forms: Searching entries shows them on a joined View, and Adding Live Filters to a View covers the setup.
A joined form’s fields have fewer choices #
In a condition on a joined form:
- The field list has Any form field, the form’s own fields, User ID, and Entry ID. Entry details such as Entry Date and Approval Status aren’t listed.
- The
does not contain,is empty, andis not emptyoperators aren’t offered.
Known limitations of Multiple Forms lists what else works differently on a joined View.
Show the entries with no match #
To show only the primary form’s entries that have no match in a joined form:
- In the View Settings tab, leave Strict Entry Match unchecked. With it checked, this condition leaves the View empty.
- In the Filter & Sort tab, click Add Condition and choose the joined form in the first drop-down.
- Choose the field the join uses in that form, set the operator to
is, and leave the value empty. - Click Update.

In the shop orders View, a condition on the Studio members form’s Email field leaves only Sam Rivera’s order. Sam ordered from the shop without registering as a member.
Compare a field with a joined form’s field #
A condition’s value can be a merge tag from a joined form, written with the form: modifier and that form’s ID. For example, {City:3:form:908} is field 3 of form 908. The merge tag list next to the value box offers the primary form’s fields only, so type the tag into the value box yourself.
Each entry is compared with its own joined entry. In the shop orders View, a condition on Ship to city set to is not {City:3:form:908} shows the orders shipped somewhere other than the member’s city.
An order with no member entry is listed too: its {City:3:form:908} is empty, and is not an empty value matches every order that has a Ship to city. To leave those orders out, click + Condition, choose the Studio members form’s Email field and is not, leave the value empty, and click AND at the top of the group.

The same tags show a joined form’s values in a Custom Content field, as Getting started with Multiple Forms shows.
Show or hide a field based on a joined form #
Field conditional logic has the same form drop-down:
- In the View’s layout, click the gear icon of the field to open its settings.
- Under Visibility, click Add Condition in the Conditional Logic setting.
- Choose the joined form in the first drop-down, then its field, an operator, and a value.
- Close the settings and click Update.

In the shop orders View, the Membership level column from the Studio members form shows only for members whose Membership status is Active. For the other rows, the cell is empty. Field Conditional Logic covers the setting itself.
Unions #
The form drop-down is for joins. On a union View, conditions list the primary form’s fields only, and each condition also matches the added forms’ entries through the field mapping. Using unions in Multiple Forms explains the mapping.