If someone is completing a form and presses the "Enter" key, is there any way to prevent the form from treating this the same as clicking the "Submit" button? Or is that a function of the web browser/web browser configuration? The situation is that there is a form with a text box for people to enter comments - and they are pressing "enter", presumably, to add a line break but this action submits the form so their comment is incomplete.
I'm guessing this isn't something configurable on the form - and my workaround would be to move the comments field up above one or more required fields, but would love to know if there's a better way.
Solved! Go to Solution.
It's not normal behavior for a Marketo textarea (let alone a browser textarea in general) to interpret "Enter" as "Submit." Are you using a textarea field, or simply a text field?
On the modern web, letting "Enter" trigger "Submit" in all other kinds of widgets but textareas is the expected action and not something you want to turn off.