I have the follow search form which works fine, however to search I have to click on the search page which has the code below in;
What I'm looking to do is have the search box on the home page, which once search then gets redirect to /search to display the results? how could I tweak the below code to achieve this?
You can simply add below code on home page. This will redirect user to search page with query string.
You can also make "/search" dynamic and not static as below. On Home page, you can create a Content Picker named Search page and replace the url of the Content Picker with "/search".
Search form on different page then the results?
Hello,
I have the follow search form which works fine, however to search I have to click on the search page which has the code below in;
What I'm looking to do is have the search box on the home page, which once search then gets redirect to /search to display the results? how could I tweak the below code to achieve this?
Thanks
Hi Matt,
You can simply add below code on home page. This will redirect user to search page with query string.
You can also make "/search" dynamic and not static as below. On Home page, you can create a Content Picker named Search page and replace the url of the Content Picker with "/search".
Hope it helps to solve the issue.
Cheers,
Shaishav
Hello Shaishav,
Thanks that worked! :)
is working on a reply...