Adding Drop-Down menu to searchform.php ?
Searchform.php currently passes $q to search.php - I would like (as an example) to be able to have the form pass $q to
search2.php - to search another page - e.g. MIVA listings
search3.php - to search another - e.g. white label Amazon
by means of a drop-down menu or radio button - this is easy enough to do with javascript, but I wouldn't have a clue how to edit searchform.php to do this - would anyone please be able to help??
Cheers!
** EDIT **
Please excuse me acting like an idiot! Whilst typing what I wanted below, I realised that all I needed to do was to pass the query through a jump page - no need for any javascript or indeed any mucking about!
Apologies for wasting time...
>> Original Message
>>Hi,
>>'Tis simply to submit the term to a different page (i.e. append ?q=searchterm to a different page than search.php e.g. websearch.php or auctionsearch.php)
>>Thanks!
Hi madstock,
Is it simply required to submit the form to a different address; or do you need the JavaScript to modify the name of the variable aswell?