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

RESOLVED WONTFIX

Status

()

Firefox
General
RESOLVED WONTFIX
10 years ago
10 years ago

People

(Reporter: Matías Hernán Liwski, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
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

Comment 1

10 years ago
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
Last Resolved: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.