game_over Posted March 22, 2010 Share Posted March 22, 2010 I have created a custom google search for my website. However it doesn't give the option to add the radio button to choose either search my site or search the whole web. I'd be happy with either 2 buttons or 1 button and radio buttons for choice? Is this possible? Link to comment Share on other sites More sharing options...
0 sweetsam Posted March 22, 2010 Share Posted March 22, 2010 Yes it is possible. When you create a Google search form it lets you select one of the options. You could select one of the options and get the code. Then restart the process with the second option. Compare the codes you get out of step1 and step2, add in a radio button and use JavaScript to switch the values as required. This would be the way to do it assuming Google doesn't provide the option to have the radio button which appears to be the case. Link to comment Share on other sites More sharing options...
Question
game_over
I have created a custom google search for my website. However it doesn't give the option to add the radio button to choose either search my site or search the whole web.
I'd be happy with either 2 buttons or 1 button and radio buttons for choice?
Is this possible?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts