Create a Toggle filter

A Toggle filter allows users to quickly switch a model condition on and off. This is useful when users need to switch between a filtered view and the complete set of records.

For example, a sales representative may manage accounts across multiple industries but primarily focus on the Technology industry. A Toggle filter allows the user to display only Technology accounts when needed and easily return to the full list of accounts.

Simple Toggle filter

Use a Toggle filter to turn on and off a model condition. For more information, see Filter Set.

Assumptions

Note: 

The example below assumes a Nintex Apps page with:

  • A configured model connected to an object that stores account data. For example, the Salesforce Account object.

  • A Table component that displays account information, including account name, description, and industry.

If you are using a different data connection, the field names and objects may vary. For more information, see Connections.

The goal is to create a toggle filter that:

  • Displays only accounts from a selected industry when enabled.

  • Displays all accounts when disabled.

Note: A single Toggle filter can control multiple conditions across multiple fields. Add additional conditions and effects as required.

Toggle filter with subquery condition

A Toggle filter can also activate a condition based on related object data by using a subquery condition. For more information, see Create and configure a subquery condition.

For example, contacts may belong to accounts across multiple industries. A sales representative who focuses on Technology accounts may want to view only contacts associated with Technology accounts while still being able to return to the complete contact list.

A subquery condition allows Nintex Apps to filter records using fields from a related object.

The goal is to create a toggle that:

  • Displays contacts associated with accounts in the selected industry.

  • Returns to all contacts when disabled.

Assumptions

Note: 

The example below assumes a Nintex Apps page with:

  • A configured model connected to a contact object. For example, the Salesforce Contact object.

  • A related Account object linked to the Contact object through the Account ID field.

  • Related Account fields added to the Contact model, including:

    • Account name

    • Industry

If you are using a different data connection, field names may vary. For more information, see Connections.