Documentation

A no-code solution that seamlessly integrates filtering and pagination into your Webflow, Wized, and Xano projects. By simply adding attributes to your Webflow filters and configuring requests and elements in Wized, you can set up a fully functional system in minutesβ€”saving you hours of development time.

⚠️ Note:

  • This solution is designed exclusively for Xano as the backend.

Supported Filter Types

Features

  • Custom Filter Triggers – Define how and when filters are applied.
  • Flexible Styling Options – Easily customise the look and feel to match your design.
  • Configurable Behaviours – Adjust filter logic to suit different use cases.
  • Event-Based Architecture – Filters and pagination respond dynamically to user actions.
  • Optimised Performance – Efficient updates with minimal page reloads.
  • Debounced Filter Updates – Prevent unnecessary requests for a smoother experience.
  • State Management Built-in – Filters stay in sync without extra setup.
  • Seamless Infinite Scroll – Load more content automatically as users scroll.

Get Started

To use Wized Filter and Pagination, include the CDN link in the <head> tag of your page:

Setup

Add Attribute to the Form Element that contains the filters

ATTRIBUTE
value
required
description
w-filter-wrapper
(No value needed)
βœ…
The Webflow form element that wraps all filters, pagination, and items to be filtered.

Create Checkbox Filter and its attributes list

  • This filter is ideal for allowing users to select multiple options within a category.
  • You can create multiple checkbox filters as needed. Ensure that attributes with unique values are distinct to prevent conflicts.
  • Attributes should be applied to the checkbox wrapper.
  • Checkboxes can be static or dynamically generated. Follow the attribute table below for setup details.
ATTRIBUTE
value
required
description
wized
WIZED IDENTIFIER
βœ…
Standard Wized identifier for this element.
w-filter-checkbox-variable
WIZED VARIABLE NAME
βœ…
Stores the selected checkbox label values inside the specified Wized variable as an array of strings.
w-filter-checkbox-request
WIZED REQUEST NAME
⬜ Optional
Used only if checkboxes are dynamically loaded. The value should be the name of the Wized request fetching the checkbox options. Not required for static checkboxes.
w-filter-checkbox-category
UNIQUE IDENTIFIER
βœ…
Groups checkboxes together. Essential for Chips Filters and for targeting specific checkbox groups when using the reset feature.
w-filter-pagination-current-variable
WIZED VARIABLE NAME
βœ…
Ensures pagination resets to page 1 when a checkbox is selected/deselected. Must match the correct Wized variable for pagination.
w-filter-request
WIZED REQUEST NAME
βœ…
Fires a Wized request to reload filtered content whenever a checkbox is toggled.

‍

Attributes for Checkbox Label

ATTRIBUTE
value
required
description
w-filter-checkbox-label
(No value needed)
βœ…
Enables the script to capture the checkbox label as the value when storing it in the specified Wized variable.
wized
Wized Identifier
βœ…
Standard Wized identifier for this element.

Create Radio Select Filter and its attributes list

  • This filter is ideal for allowing users to select only one option from a predefined set.
  • You can create multiple radio selects as needed. Ensure that attributes with unique values are distinct to prevent conflicts.
  • Attributes should be applied to the radio select wrapper.
  • Radio Selects can be static or dynamically generated. Follow the attribute table below for setup details.
ATTRIBUTE
value
required
description
wized
WIZED IDENTIFIER
βœ…
Standard Wized identifier for this element.
w-filter-radio-variable
WIZED VARIABLE NAME
βœ…
Stores the selected radio label value inside the specified Wized variable as a string
w-filter-radio-request
WIZED REQUEST NAME
⬜ Optional
Used only if radios are dynamically loaded. The value should be the name of the Wized request fetching the radio select options. Not required for static radio selects.
w-filter-radio-category
UNIQUE IDENTIFIER
βœ…
Groups radios together. Essential for Chips Filters and for targeting specific radio groups when using the reset feature.
w-filter-pagination-current-variable
WIZED VARIABLE NAME
βœ…
Ensures pagination resets to page 1 when a radio is selected/deselected. Must match the correct Wized variable for pagination.
w-filter-request
WIZED REQUEST NAME
βœ…
Fires a Wized request to reload filtered content whenever a radio is selected or reset

‍

Attributes for Radio Select Label

ATTRIBUTE
value
required
description
w-filter-radio-label
(No value needed)
βœ…
Enables the script to capture the radio label as the value when storing it in the specified Wized variable.
wized
Wized Identifier
βœ…
Standard Wized identifier for this element.

Create Select Filter and its attributes list

  • This filter is ideal for providing users with a dropdown menu to select a single option from a list.
  • You can create multiple select filters as needed. Ensure that attribute values are unique to prevent conflicts.
  • Attributes should be applied directly to the <select> element.
  • The select filter can be static or dynamically loaded. Follow the attribute table below for setup details.
ATTRIBUTE
value
required
description
wized
WIZED IDENTIFIER
βœ…
Standard Wized identifier for this element.
w-filter-select-variable
WIZED VARIABLE NAME
βœ…
Stores the selected select filter value inside the specified Wized variable as a string
w-filter-select-request
WIZED REQUEST NAME
⬜ Optional
Used only if the select filter is dynamically loaded. The value should be the name of the Wized request fetching the select filter options. Not required for static select filter.
w-filter-select-category
UNIQUE IDENTIFIER
βœ…
Groups select filters together. Essential for Chips Filters and for targeting specific select filter groups when using the reset feature.
w-filter-pagination-current-variable
WIZED VARIABLE NAME
βœ…
Ensures pagination resets to page 1 when a select filter is selected/deselected. Must match the correct Wized variable for pagination.
w-filter-request
WIZED REQUEST NAME
βœ…
Fires a Wized request to reload filtered content whenever a select filter is selected or reset

‍

If your select filter needs to dynamically load options, follow these additional steps:

  1. Add the attributes mentioned above to your select filter.
  2. Apply a combo class to hide the select filter (as it will be populated dynamically).
  3. Create a div block containing two text elements inside it.
  4. Apply the following attributes to the div block:
  5. You will need to ensure that this div block is placed close to the select filter especially if they share the same w-filter-select-category value
ATTRIBUTE
value
required
description
w-filter-select-category
NEEDS TO HAVE THE SAME VALUE AS THE SELECT FILTER THAT THIS DIV BLOCK BELONGS TO
βœ…
Ensures this div block is linked to the correct select filter.
w-filter-select-option
wrapper
βœ…
Identifies the div block as the wrapper for dynamic options.

‍

One of the text elements in the div block will need to have the following attributes:

ATTRIBUTE
value
required
description
wized
WIZED IDENTIFIER
βœ…
Used to render the option text.
w-filter-select-option
option-text
βœ…
Defines the text that will be displayed as the option label in the select dropdown.

‍

The other text element in the div block will need to have the following attributes:

ATTRIBUTE
value
required
description
wized
WIZED IDENTIFIER
βœ…
Used to render the option value.
w-filter-select-option
value-text
βœ…
Defines the actual value that will be stored in the Wized variable when selected.

Create Select Range Filter and its attributes list

  • This filter allows users to select a range using two dropdowns (e.g., a "FROM" and "TO" value).
  • You can create multiple select range filters as needed. Ensure that each filter has unique attribute values to prevent conflicts.
  • Attributes must be applied directly to each <select> element.
  • The select range filter can be static or dynamically loaded.
  • The setup is similar to the standard Select Filter, but with separate attributes for "FROM" and "TO" dropdowns.

‍

Attributes for "FROM" Select Range

ATTRIBUTE
value
required
description
wized
WIZED IDENTIFIER
βœ…
Standard Wized identifier for this element.
w-filter-select-range-from-variable
WIZED VARIABLE NAME
βœ…
Stores the selected FROM value inside the specified Wized variable as a string.
w-filter-select-range-category
Unique Identifier
βœ…
Groups select range filters together. Essential for Chips Filters and for targeting specific filter groups when using the reset feature.
w-filter-request
Wized Request Name
βœ…
Fires a Wized request to reload filtered content whenever a selection is made or reset.
w-filter-select-range-request
Wized Request Name
βœ…
Used only if the select filter options are dynamically loaded. Set this value to the Wized request fetching the options. Not required for static filters.
w-filter-pagination-current-variable
WIZED REQUEST NAME
βœ…
Ensures pagination resets to page 1 when a selection is made. Must match the correct Wized variable for pagination.

‍

Attributes for "TO" Select Range

ATTRIBUTE
value
required
description
wized
Wized Identifier
βœ…
Standard Wized identifier for this element.
w-filter-select-range-to-variable
Wized Variable Name
βœ…
Stores the selected TO value inside the specified Wized variable as a string.
w-filter-select-range-category
Unique Identifier
βœ…
Groups select range filters together. Essential for Chips Filters and for targeting specific filter groups when using the reset feature.
w-filter-request
Wized Request Name
βœ…
Fires a Wized request to reload filtered content whenever a selection is made or reset.
w-filter-select-range-request
Wized Request Name
⬜ Optional
Used only if the select filter options are dynamically loaded. Set this value to the Wized request fetching the options. Not required for static filters.
w-filter-pagination-current-variable
Wized Variable Name
βœ…
Ensures pagination resets to page 1 when a selection is made. Must match the correct Wized variable for pagination.

‍

Dynamically Loading Select Range Filters

If your select range filter needs to dynamically load options, follow these additional steps:

  1. Add the required attributes to both the FROM and TO select filters.
  2. Hide the select filters using a combo class, as they will be populated dynamically.
  3. Create two div blocks, each containing two text elements. These blocks will serve as wrappers for the dynamically loaded options.
  4. Apply the following attributes to each div block:
  5. Ensure the div blocks are placed near the select filters, especially if they share the same w-filter-select-range-category value.
Attributes for "FROM" Select Range Option Wrapper
ATTRIBUTE
value
required
description
w-filter-select-range-category
(Same value as the associated select filter)
βœ…
Links this wrapper to the correct select filter.
w-filter-select-range-from-option
wrapper
βœ…
Identifies the div block as the wrapper for dynamic options.

‍

Attributes for "FROM" Text Elements
ATTRIBUTE
value
required
description
wized
WIZED IDENTIFIER
βœ…
Used to render the option value.
w-filter-select-range-from-option
option-text
βœ…
Defines the text that will be displayed as the option label in the dropdown.
wized
Wized Identifier
βœ…
Used to render the option value.
w-filter-select-range-from-value
value-text
βœ…
Defines the value that will be stored in the Wized variable when selected.

‍

Attributes for "TO" Select Range Option Wrapper
ATTRIBUTE
value
required
description
w-filter-select-range-category
(Same value as the associated select filter)
βœ…
Links this wrapper to the correct select filter.
w-filter-select-range-to-option
wrapper
βœ…
Identifies the div block as the wrapper for dynamic options.

‍

Attributes for "TO" Text Elements
ATTRIBUTE
value
required
description
wized
Wized Identifier
βœ…
Used to render the option text.
w-filter-select-range-to-option
option-text
βœ…
Defines the text that will be displayed as the option label in the dropdown.
wized
Wized Identifier
βœ…
Used to render the option value.
w-filter-select-range-to-value
value-text
βœ…
Defines the value that will be stored in the Wized variable when selected.

Create Sort Filter and its attributes list

  • This filter allows users to sort content using a select dropdown.
  • Multiple sort filters can be used within the same setup.
  • Attributes must be applied directly to the <select> element.
  • ⚠️ The sort filter currently only supports static options and does not work with dynamically loaded content.
ATTRIBUTE
value
required
description
wized
WIZED IDENTIFIER
βœ…
Standard Wized identifier for this element.
w-filter-sort-variable
Wized Variable Name
βœ…
Stores the selected sort value inside the specified Wized variable as a string.
w-filter-request
Wized Request Name
βœ…
Fires a Wized request to reload filtered content whenever a selection is made or reset.
w-filter-pagination-current-variable
Wized Variable Name
βœ…
Ensures pagination resets to page 1 when a selection is made. Must match the correct Wized variable for pagination.
w-filter-sort-category
Unique Identifier
βœ…
Groups sort filters together. Essential for Chips Filters and for targeting specific sort groups when using the reset feature.

‍

Setting Up the Sort Filter Options

Although the Sort Filter is static, it requires a separate div block (option wrapper) to store text elements that define the available sorting options.

Attributes for the Option Wrapper:

ATTRIBUTE
value
required
description
w-filter-sort-option
wrapper
βœ…
Identifies the div block as the wrapper for sort options.
w-filter-sort-category
(Same value as the associated select filter)
βœ…
Links this wrapper to the correct sort filter.

‍

Attributes for Text Elements Inside the Option Wrapper

ATTRIBUTE
value
required
description
w-filter-sort-option
option-text
βœ…
Defines the text label for the sorting option displayed in the dropdown.
w-filter-sort-orderby
asc/desc
βœ…
Determines whether the sorting is ascending (asc) or descending (desc).
w-filter-sort-sortby
(Column field name from Xano)
βœ…
Specifies the field in Xano by which the content will be sorted. This must match the exact field name in your Xano database.

Create Chips Filter and its attributes list

  • Chips are dynamically generated based on the filters selected by the user.
  • To set up chips, you need to create a div block that contains:
    • A text element (chip label)
    • A link block (chip remove trigger)
  • You do not need to manually hide the chip templateβ€”the script automatically handles its visibility.

‍

Attribute for the Chip Template (div block)

ATTRIBUTE
value
required
description
w-filter-chip
chip
βœ…
Applied to the chip template to define its structure.

‍

Attribute for the Chip Label

ATTRIBUTE
value
required
description
w-filter-chip
label
βœ…
Applied to the text element inside the chip to display the selected filter value.

‍

Attribute for the Chip Remove Button

ATTRIBUTE
value
required
description
w-filter-chip
remove
βœ…
Applied to the link block inside the chip. Clicking it removes the corresponding filter.

Create Reset All and its attributes list

  • This feature allows users to reset all active filters with a single click.
  • It requires a single link block element, which will act as the reset trigger.
  • The following attributes must be applied to the reset link block.
ATTRIBUTE
value
required
description
w-filter-reset
main-reset
βœ…
Stores the search input value inside the specified Wized variable.
w-filter-request
Wized Request Name
βœ…
Fires a Wized request to reload filtered content whenever a user clicks on it
w-filter-pagination-current-variable
Wized Variable Name
βœ…
Ensures pagination resets to page 1 when a search term is entered. Must match the correct Wized variable for pagination.

Create Single Reset For Filter Category and its attributes list

  • This feature allows users to reset a specific filter category without affecting others.
  • It requires a single link block element, which will act as the reset trigger.
  • ⚠️ Important: The reset button must be placed close to the filter group it resets.
  • The Single Reset feature is not required for Sort Filters, Search, and Chips Filters.
  • The following attributes must be applied to the reset link block.
ATTRIBUTE
value
required
description
w-filter-checkbox-reset
(Same value as the w-filter-checkbox-category attribute)
βœ…
Resets the Checkbox filter category if the value matches the associated filter group.
w-filter-radio-reset
(Same value as the w-filter-radio-category attribute)
βœ…
Resets the Radio filter category if the value matches the associated filter group.
w-filter-select-reset
(Same value as the w-filter-select-category attribute)
βœ…
Resets the Select filter category if the value matches the associated filter group.
w-filter-select-range-reset
(Same value as the w-filter-select-range-category attribute)
βœ…
Resets the Select Range filter category if the value matches the associated filter group.