logoalt Hacker News

carlosjobimlast Sunday at 4:41 PM5 repliesview on HN

Apart from a chat interface, when should enter ever submit your text?


Replies

JoshTriplettlast Sunday at 8:10 PM

A single-line text box that has no possibility of multi-line text (so, not a chat interface), such as search, an address bar, something that's obviously "submit one item" (e.g. "submit a word"), etc.

binarymaxlast Sunday at 4:59 PM

In a multiline text box, enter should NOT submit the form. Chat interfaces violate this rule and it results in lots of premature chat submissions.

show 1 reply
layer8last Sunday at 5:49 PM

In single-text-input contexts, like search fields and the browser address field, and things like Save As dialogs. It’s the general expectation for dialogs with an OK or default button, just like Escape cancels the dialog.

masswerklast Sunday at 10:59 PM

The new idiom:

You are right, of course this is your account name! Do you want me to be keep you logged-in?

> _

somehnguylast Sunday at 4:49 PM

A search box, I think