Web Hosting Talk







View Full Version : Make a quick 5 dollars (need search form coded)


rocrom
06-13-2004, 05:47 PM
HI

I have two search boxes that I would like to use on one search box by using radio buttons to decide what will be search Here is the site http://www.cogimosearch.com

Here is the search bar that will use the radio boxes

<TD COLSPAN=7 bgcolor="88DDFF"><form name="form1" method="post" action="">
<table width="59%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left"> <input type="radio" name="radiobutton" value="radiobutton">
<span class="body"> Home
<input type="radio" name="radiobutton" value="radiobutton">
Directory </span></td>
</tr>
<tr>
<td><input name="textfield" type="text" size="73"> <input type="submit" name="Submit" value="Search"></td>
</tr>
<tr>
<td class="button1"><a href="#">Advanced Search</a> • <a href="#">Preferences</a>
• <a href="#">Tools &amp; Tips</a>&nbsp;</td>
</tr>
</table>
</form></TD>


Here are the two search boxes I want incorporated into the above search box using the radio buttons

**********************************************

<form method=get name=f1 action="http://cogimosearch.com/search_results.php">
<tr>
<td align=center> <input type=text name=q size=50> <input type=hidden name=page value=1>
<input type=submit name=s1 value="Search"> </td>
</tr>

</form>

**********************************************
<form method=get action="http://www.cogimosearch.com/odp/odp.pl">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <input size=30 name=search>
<input type=submit value="Search">
</form>

___________________________________________________

I did this in the past I just don't have the time of patience to figure out how I did it.

Quick 5 dollars via paypal

Please post in this thread


Thanks in advance

barrywien
06-13-2004, 06:49 PM
Its not possible to search the same thing via different URL's on the same POST command.

Remix2
06-13-2004, 10:37 PM
a.just-there.com/sample.html

rocrom
06-14-2004, 08:25 AM
thanks so much check your email

nikhil
06-14-2004, 08:29 AM
What you can do is have a radio button and then redirect using javascript. I'd prefer using <select> instead of a radio button.