I have created a search form on the home page of my site.
I would like that when a search is made that the results are displayed on the home page. So far, no problem.
But how can I make sure that the search results section is not visible when I don’t do a search ?
This is my page :
Make your RG not visible on page load. And in conditional set something like “This RG’s list of results:count>0” - make visible.
Test it and check the results
It’s not working.
This is my workflow :
Thank you for your help. I’m new on Bubble…
So in your screenshot RG is not visible. An it will appear only when you’ll hit search button (if any results will be found). Isn’t that what you’ve tried to achieve?
Yes, I have tried but no results are visible even though it should show them.
I would also like the blank section not to be displayed but to appear only when you press the search button.
you’ve forgot to add “what” to change" after “when” in your conditional:
When I do that :
I have all the result with make a search on my homepage :
As I can see - your search should trigger only when end user clicks on search button. Do you you have any default “do a search” for your RG Activity (appearance tab)?
Show what do you have in appearance tab of you rg
This is a group Tours Search. I need to see your Repeating Group Activity default data search
What do you have in “search for activitys”?
So, you have “ignore empty constraints” in a default RG search. It means that if the user hasn’t chosen any filter/constraint - al items will be returned (check the manual).
That’s why you have this:
This topic was automatically closed after 69 days. New replies are no longer allowed.