Forum Academy Marketplace Showcase Pricing Features

Need to pass the search box input from index page to that of the result page

Hi,

I need help with passing the parameter from one search box to another. Specifically, when I type “item” in the search box on the index page, I want the search box on the other page to also show “item”.

Here’s what I have done:

  • on the index page, created a button to initiate workflow that sends parameter “search” = searchbox. e.g. value’s name
  • on the search page, I set the default value of the search box to take the parameter “search” . But the problem is it keeps asking for (More…)

Hey @phanquangkiev1995

Thanks for the post and sorry for the trouble with this! There are a few things this could be and it’s difficult to pinpoint which without getting some more details, but this sounds like you might have a data mismatch between your two search boxes and the url parameter you’re using to carry the value across.

Keep in mind that if you search in one box and select something, the value isn’t typed text, instead it’s whatever you selected (whatever data type the search box is set to), so when you send that value as the url parameter and eventually try to set it as the default value on the second search box, you’ll want to make sure those are all set accordingly to expect the right data type.

Give it a try and feel free to email us at [email protected] if this kicks up any additional questions.