Closed Bug 447850 Opened 16 years ago Closed 16 years ago

Firefox submit's a form with one field allways than enter key is pressed

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: matias.liwski, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

Firefox submit's a form with one field allways than enter key is pressed. (By the way it happens with IE 6 too)

Here is the code:
<html>
	<head> 
   		<title>Ingreso de Nuevo periodo</title> 
 	</head>
 	<body>
		<form name="formularioDeIngresoDePeriodos" action="/alfresco/service/Adecco/Demanda/ingresoDeNuevoPeriodo/ingresarNuevoPeriodo" method="post" enctype="multipart/form-data" accept-charset="utf-8">
			<table>
				<tr>
					<td colspan = "2"><b>Nuevo periodo a ingresar</b></td>
				</tr>
				<tr>
					<td><b>Fecha:</b>05/2008</td>
					<td><b>Tasa:</b><input type="text" name="nuevaTasa" value="0" size="5"/></td>
				</tr>
			</table>
		</form>
	</body>
</html>

Reproducible: Always

Steps to Reproduce:
1.Focus the input text
2.Press Enter
3.(Remove the input button and happen too)
Actual Results:  
Submits even if the submit button isn't pressed

Expected Results:  
Not submit at all
This is a feature.  Being able to submit forms by pressing Enter saves users a lot of time.  If you want to disable it for your form, you can do so using JavaScript.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.