Search Bar all reults

When I search for something and the item is not inside the database. The results return everything. Is there another way to return nothing if the things are not in the database?

1 Like

Use an input field along with the Search & AutoCorrect plugin. Then build a group like looks like a dropdown and inside put an RG and the RG points to the plugin’s matches. If you search the forum for that plugin there are topics that describe in more detail how to build what you want. The plugin’s demo page also contains a really good example of what you want. Try that and see how you get on, most of use that plugin.

Using the Search & AutoCorrect plugin works very well when you’re searching a short list, but is too slow to load the data when searing a large list imo. So, perhaps use it when searching a short list.

And, if you’re searching a large list, you can add a condition to the search so that when “search for” :count = 0, then set the data source equal to nothing.

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.