PDA

Click to See Complete Forum and Search --> : problem with submit button


Zhiquan
Aug 28th, 2002, 06:56 AM
hi guys,

i have a form with 1 text field and a submit button, on some other sites, when you just hit the enter key, it will automatically submit the form. However, on mine, it just clears the field. When i click on the button, it submits as normal.

Any ideas?

punkpie_uk
Aug 28th, 2002, 07:44 AM
Very strange, what browser are you using?

Also, try this code to see if the same thing happens...


<html>
<head>
<title>Untitled</title>
</head>
<body>
<form name="form1" action="results.pl" method="post">
<input type="text" name="text1">
<input type="submit" name="text1">
</form>
</body>
</html>