formsVercel
Enter Submits
MUST
MUST: Enter submits focused text input
When a text input is focused, Enter should submit the form if it's the only control
Bad
Good
Why it matters
Users expect pressing Enter in a form field to submit the form. This is a fundamental web convention that improves efficiency and meets user expectations. For single-input forms like search boxes or login fields, this should work from any input. For multi-field forms, Enter should submit when focus is on the last input.
References