PeteS99
01-21-2002, 12:58 PM
Hi there.
I'm working on a form for an internal application at my company. The basic code for the form is below. The problem goes like this...
When you load the page, type something in the text box, and hit Enter, the page simply refeshes without returning ANY results. If you type in the text box and CLICK the Submit button, the form works perfectly. Why do you suppose no results are returned upon the first method? Is there some piece code I need to insert into my Index.asp page to counter this? Thanks for any info!
~p
<pre>
<form name="ChannelSearch" action="index.asp" method="post">
<input type="text" name="SearchCriteria" size=20 maxlength=50>
<input type="submit" name="Action" value="Search">
<br>
<font face="verdana,arial,helvetica" size="2">
<input type="radio" name="SearchType" value="ChannelAlias" checked> Channel Alias
<br>
<input type="radio" name="SearchType" value="ChannelName"> Channel Name
<br>
<input type="radio" name="SearchType" value="ChannelID"> Channel ID
<br>
<input type="radio" name="SearchType" value="DomainName"> Domain Name
</font>
</form>
</pre>
I'm working on a form for an internal application at my company. The basic code for the form is below. The problem goes like this...
When you load the page, type something in the text box, and hit Enter, the page simply refeshes without returning ANY results. If you type in the text box and CLICK the Submit button, the form works perfectly. Why do you suppose no results are returned upon the first method? Is there some piece code I need to insert into my Index.asp page to counter this? Thanks for any info!
~p
<pre>
<form name="ChannelSearch" action="index.asp" method="post">
<input type="text" name="SearchCriteria" size=20 maxlength=50>
<input type="submit" name="Action" value="Search">
<br>
<font face="verdana,arial,helvetica" size="2">
<input type="radio" name="SearchType" value="ChannelAlias" checked> Channel Alias
<br>
<input type="radio" name="SearchType" value="ChannelName"> Channel Name
<br>
<input type="radio" name="SearchType" value="ChannelID"> Channel ID
<br>
<input type="radio" name="SearchType" value="DomainName"> Domain Name
</font>
</form>
</pre>