Services Plugins FAQs

Fuzzy Search not working if data is being passed from another page

Hello @luca.tschannen
I hope you are having a great weekend. :slightly_smiling_face:

I’d like to know if you received my previous message.

Did you have time to check the suggestions we made, or did you fix the reported issue by yourself?

We would appreciate your feedback upon this. In case you need further assistance, don’t hesitate to reach out.

Feel free to reach out if you have any other questions, we would be happy to assist you.
Have a nice day! :sun_with_face:

1 Like

Hi Vasile

Thank you for your assistance and your time, I really appreciate it!

Here is in detail my situation of my bubble-app:

Here is the desired functionality:

  • A user can enter a search expression on the index-page and hit enter to search for it.
  • When hitting enter, the page “company search” is opened and the searched expression is placed in the input field “search” on that page.
  • This triggers the fuzzy search, that is linked to the repeating group that shows on page load the search results for the expression in the search field (transferred via page URL).
  • When changing the expression in the search box (eg: enter a new company name to search for), the new search results are loaded with the fuzzy search.

For me, fuzzy search works great when I enter a new expression in the search box on the page “company search” but no search results are shown upon loading the page, even though there is an expression inside the search box (loaded via page URL):


However, if I change a letter in the search, then fuzzy search triggers and it shows the search results perfectly.

I have tried your suggestion to change the fuzzy_search settings to enable the “text to match” to equal the searh expression from the page URL and disabling the “set text to match from an input box” but the search does not trigger (the Key name matches). This problem matches the explanation of Serg that the fuzzy search is only triggered on letter typing.

I believe this is a very common feature on established websites where an index page contains a search bar and when triggering a search, the user is being sent to a results page, where the search can be modified in a new search box.

Do you see any fix for my issue? Any help is greatly appreciated.

Thank you and best regards,

Luca

Hello @luca.tschannen ,
I hope you are doing well.

I have tried your suggestion to change the fuzzy_search settings to enable the “text to match” to equal the searh expression from the page URL and disabling the “set text to match from an input box” but the search does not trigger (the Key name matches). This problem matches the explanation of Serg that the fuzzy search is only triggered on letter typing. Do you see any fix for my issue? Any help is greatly appreciated.

Could you please share with us a video recording of your workflow setup, URL key and parameter you were looking for, the issue you see, and the expected result, for screencast recording (I can suggest using the Loom tool).

These details will help us reproduce your setup on our side and look into it.

Thank you once again and looking forward to your reply.
Take care!

Hello @Vasile ,

I hope you’re doing well!

I am facing the same issue as described by luca.tschannen and I wanted to check if there is now a solution for this. Here are the details:

Problem:

I have an Index Page with a search bar where users enter a company name and are redirected to a new page that shows the search results.

The search term is passed via a URL parameter to the “Company Search” page, and the input field is automatically populated with the value from the URL (e.g., Keyword=CompanyName).

The Fuzzy Search Plugin is connected to this search input field and should display the results in a repeating group based on the search query.

The issue is that the Fuzzy Search Plugin is not triggered automatically when the page loads, even though the input field is populated with the value from the URL. The search results are only displayed when the user manually types a letter into the input field.

What I’ve Tried:

If the option “Assign text from an input field” is activated, the search works and the results are displayed after approx. 5 seconds. Unfortunately, this is too long for most users and therefore the question whether there is another option.

Since the forum post from luca.tschannen is a bit older, I was wondering if there is now a way to trigger the Fuzzy Search Plugin automatically when the input field is populated via the URL parameter, without needing the user to type a letter.

Any advice or suggestions on how to resolve this issue would be greatly appreciated!

Thank you in advance for your time and assistance!

Best regards,

Philipp

1 Like

Hello @philipp ,

Thanks for reaching out to us.

As previously discussed, the reason the result doesn’t appear instantly when using the “match from” option with an input box is due to how input element works in Bubble. This option expects the input to be empty at first, and only after you start typing will it begin to search based on what you enter.

For your use case, there are two solutions. The first, as mentioned before, is to match the result directly from the text. In this approach, you can simply use the input’s value, and it will work the same way.

The second solution, if you specifically want to use the “match from” input box, is to use a third-party plugin that can display data in the input upon page load. I’ve set up a test page where you can see it in action. Here’s the page editor: Zeroqode-demo-16 | Bubble Editor

I hope this helps. Please let me know how these solutions work for you, or if you have any other questions.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hey Stephan,

Thank you for your response and for providing the suggested solutions. Unfortunately, neither of the options fully met our requirements.

However, we’ve come up with a workaround that works better for our use case. We now use the native Bubble search when the search parameter is passed via the URL. This allows us to show results right away when the user is on the search page. When the user interacts with the input field or starts a new search, we then trigger the fuzzy search for more accurate results.

The initial results are not as precise as those from the fuzzy search, but this solution works best for us as it ensures the user sees search results immediately without needing to click on the search page first.

Thank you and best regards,
Philipp

Hello @philipp ,

Thank you for your message and update. :hugs:

It’s great to hear that you managed to find a better solution for your use case. Nonetheless, the two other workflows should also function in such scenarios with precise results from the beginning.

If you have any other questions, please feel free to reach out to us anytime.

Thanks again, and have a great day ahead! :pray:

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3