|
|
|
|
|
by jonascopenhagen
4828 days ago
|
|
Sure, and that's the way it works by default: In a <textarea> Enter adds a new line - in a single-line <input> Enter submits the form. What I'm saying is that if you have a single-line <input> field and pressing Enter doesn't submit the form, you should add some HTML/JS to ensure that Enter submits the form. |
|