On 3 April 2010 17:41, Hassan Schroeder <[email protected]> wrote: > On Sat, Apr 3, 2010 at 9:09 AM, Colin Law <[email protected]> wrote: > >>>> Browser dependent, but usually if you hit ENTER while in a text field >>>> it will submit the form. > >> All that enter does is to hit the button by the keyboard instead of >> the mouse, so that does not explain it. > > Sure it does. Open up a test app and put this minimal form in a page: > > <form action="/"><input/><input/></form> > > Load the page, put focus on one of those fields and hit the enter key.
I tried it, nothing happens. (in FF) Colin > > -- > Hassan Schroeder ------------------------ [email protected] > twitter: @hassan > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

