Google search redirect
Hi Folks,
I'm trying to submit my form to google so I can use their websearch.
Depending on what radio button is selected, if the google button is selected I'd like to redirect the search cireteria to the google search.
Am I right in thinking you can't pass parameters using cflocation?
Is there another way I can do this?
My form is below:
<form action="index.cfm" method="post" name="staffsearch" s>
<input type="text" name="searchname" id="searchname" onclick="this.value='';" value="Enter search criteria" />
<input name="submit" type="submit" id="searchbutton" value="Search" />
Staff
<input name="area" type="radio" value="staffdirectory/results" checked>
Intranet
<input name="area" type="radio" value="mainresults" >
Web
<input name="area" type="radio" value="google" >
</div>
</form>
The stand alone google form is:
<form name="search" method="get" action="http://www.google.co.uk/search">
<input type="hidden" name="websearch" class="" value="" />
Search
<input name="q" type="text" value="" />
<input name="submit" type="submit" value="Search" />
</form>
Many thanks
