Hi,
I have been reading about how to add search using a dropdown element on https://support.wix.com/en/article/how-to-add-a-search-of-your-data-collection-to-a-page and I am not sure it gives me the answer that I am looking for. I am looking to create a main search bar on my homepage, where users can select the service and the location they want, and when clicking the search button, being taken to the relevant search result page which has been built. The article shows how to filter a collection on the same page, which is not what I want. What steps & codes I may need in order to build the function that I am looking to have?
Thanks.
Hi,
I am looking to create a dropdown search similar to what you have mentioned but I am struggling to find any help on how to do it. Could you possibly share some info/ code you used. Thanks.
Hi,
Thanks! wixLocation.to resolved my problem.
Hi,
Did you manage to get it working with the filter?
You can use wixLocation.to method in order to navigate to the relevant search result page.
Roi.