[My apologies if this is OT - it's not really CF related, but more web dev related ]
OK, so I have a form. It's as straightforward as you can get (below). It has no buttons (nevermind a submit button)! But when I hit *enter*, when my cursor is in the field, it submits, but only when there is one visible field on the page (if there is a hidden one, and a visible one, as below, it submits!) If I take out the hidden field, it still submits. If I add another visible field, it will *not* submit when I hit enter. Is it possible that I've been doing web dev for so many years and have never noticed this??? Is this a bug? Is this the intended behavior? It happens in both browsers. Help!! I really don't want to override the onkeypress of the enter key to get rid of this... The form is below, and you can get to three versions of the page here: http://www.coldturtle.com/test/FormSubmitOnEnter.html http://www.coldturtle.com/test/FormSubmitOnEnterOneField.html http://www.coldturtle.com/test/FormSubmitTwoFields.html <html> <head> <title>Untitled</title> </head> <body> <form name="frmForm" action="somepagethatdoesntexist.html" method="post"> <input type="text" name="anything"> <input type="hidden" name="anything2"> </form> </body> </html> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201061 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

