Passing search term from one website to get results on another

I have a search field on one website which, when a user enters a value, I would like to pass that value to another website.

Here's the website: http://braasdev.cmhehre.com (first search box on top left)

Here's the code I'm using:
<form action="https://shop.braasco.com/store/search.do?searchType=keyword&keyword=" method="POST" target="_blank">
    <input type="text" name="keyword" id="searchInput" value=""/>
    <input type="submit">
        <input id="searchInput" name="searchInput" type="hidden" value="">
</form>

The issue is the term being entered isn't getting passed, and i don't know what to put after the "&keyword=[HERE]" to make the search term pass. If i put an actual value in there "...&keyword=Q" i get results for "Q" but I want it to be dynamic.

Thanks for the help!
christine hehreAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongCommented:
what's the purpose to have a hidden field?

<input id="searchInput" name="searchInput" type="hidden" value="">

what about:

<form action="https://shop.braasco.com/store/search.do?searchType=keyword" method="POST" target="_blank">
    <input type="text" name="keyword" id="searchInput" value=""/>
    <input type="submit">
</form>

Open in new window

OR
<form action="https://shop.braasco.com/store/search.do?searchType=keyword" method="GET" target="_blank">
    <input type="text" name="keyword" id="searchInput" value=""/>
    <input type="submit">
</form>

Open in new window

?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
christine hehreAuthor Commented:
Well would you look at that! This is what ended up working:

<form action="https://shop.braasco.com/store/search.do?searchType=keyword" method="POST" target="_blank">
    <input type="text" name="keyword" id="searchInput" value=""/>
    <input type="submit">
</form>

Thank you a TON for your help!
0
Ryan ChongCommented:
glad that it helps, cheers
0
christine hehreAuthor Commented:
Quick, relevant and working solution! This was GREAT!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Query Syntax

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.