There are two types of filters
- Fixed filters: These filters are always applied and the user viewing the page can’t remove them. These filters are useful when you want to allow the users to see only specific records, for example, the entries they have submitted.
- Dynamic Filters: In this kind of filter you let the users decide what they want to search, for example, if you have a text box field you could add it as a dynamic filter and let the user search records with a specific text in it.
Adding fixed filters
To add a fixed filter do the following:
1.- Go to the page designer/ Settings /Form and Filters
2.- Click in ‘Click here to add your first filter’
3.- Define the filter, you can see up a filter the same way as you set up a Conditional Logic. In the example below the page will show only the records submitted by the user viewing the page
Adding Dynamic Filters
To create filters that the user can change do the following steps
1.- Add a search bar block to your page
2.- In the search bar settings click on ‘Add Field’
3.- Select the field you want to add in the search bar (you can add multiple if you want) and the Comparison type. In the example below the plugin will search all the records where the field called ‘Text box’ contains the text the user is searching.
That’s it! for each field you add the plugin will add an element in the search bar that your users can use to perform the search.
APR
2024
About the Author:
Im programmer working for an international company. I have programmed since i was 12 and i have done it professionally for 6 years. Programming for a company is fun and i have learned a lot of things but i have always been interested in running my own business so i decided to give it a shot doing what i do best, programming stuffs.