Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple radio buttons in a single form

Status
Not open for further replies.

AKS44

Programmer
Feb 7, 2006
20
0
0
US
I am trying to incorporate two search forms into one form. I am assuming that it will require some java scripting to accomplish this. However, i am not sure how to do this; any and all help would be greatly appreciated.

Incorporate form 2 with form 1

Form 1 -

<FORM method=GET action= <TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top><td>
<A HREF= </td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=sa VALUE="Search">
<INPUT type=hidden name=cof
VALUE="GIMP:black;T:black;LW:780;ALC:red;L: <font face=arial,sans-serif size=-1><input type=hidden name=domains value=" type=radio name=sitesearch value="pcl.lib.wa.us" checked>
Search Our Site</font></td>
</tr></TABLE>
</FORM>

Form 2 -

<form method="GET" action=" id="simple" name="simple" onsubmit="return validatequicksearch();">
<input type="text" name="term" id="term" size="25">
<input name="ctx" type="hidden" value="1.1033.0.0.1">
<input name="type" type="hidden" value="keyword">
<input name="by" type="hidden" value="KW">
<input name="sort" type="hidden" value="PD">
<input name="query" type="hidden" value="">
<input name="page" type="hidden" value="0"><br>
<input type="submit" value="Go!" name="btnSearch">
<input type='reset' value="Reset Form" id='reset' name='reset'>
</form>
 
Erm .. this forum is for "Java 2 Enterprise Edition" questions - NOT javascript.

Please post in the relevant forum.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top