Forum Moderators: open

Message Too Old, No Replies

One page, two forms - I need some HTML help, please

         

loveinstar

3:15 pm on Apr 11, 2005 (gmt 0)

10+ Year Member



My page contains following two segment codes

1st one is a segment of newsletter code

<form method="get" action="ccmail/index.php" target="_blank">
<input name="address" size="13"><input type="submit" value="Go">

2nd one is a segment of search box code

<FORM name=formSear action="http://www.example.com/search.html" method="GET" onSubmit="return OnSearchSubmit()">
<table border=0 width="170">
<tr valign=baseline>
<td width="105">
</td>
<td width="76">
&nbsp;
</td>
<td width="75">
</td>
</tr>
<tr valign=baseline>
<td width="105">
&nbsp;
</td>
<td width="76">
<p align="right">
<INPUT TYPE="text" NAME='searWords' SIZE="19" MAXLENGTH="100" VALUE=''></font><INPUT name="Send" type="submit" value='Search'>
</p>

the problem is that when i click the "search" button, it goes to the newsletter page ... how can i fix it?

The page url is:

<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>

Please help me. Thank you in advance!

[edited by: tedster at 4:05 pm (utc) on April 11, 2005]

benihana

3:18 pm on Apr 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



unless its been missed from your code segments, you need the closing form tags :

</form>

loveinstar

2:56 am on Apr 13, 2005 (gmt 0)

10+ Year Member



Thank you , i fixed the problem