Newb - Search field in Navbar and search results somewhere else

Hey all,

On my trial for a client, and I'm not understanding how to separate out a search field in the navbar and then putting the actual results on another page in the site. Using React, and there's no example from what I can see of how this is done.

Am I missing something?

Hey @lesreaper. Sorry about the late reply.

I don't know that I have a code example handy for this, but typically, you're search field in the navbar would be a simple form, that simply posts to your search page, and passes the search term along as a query parameter.

In other words, submitting the search box in the navbar would simply direct a user to a page like /search?q=some+search+term

Your search results page would then read from the q parameter to initiate a new query and render the results.

Does that answer your question?