Users accidentally submitting form by pressing enter
-
About 1 in 10 users are accidentally submitting the form (before they’ve finished answering everything) by pressing “enter” when they have a textinput or other input selected. I’m pretty sure this is standard HTML behaviour but it’s often pretty annoying for users.
For example, I have a form that contains textareas, text inputs, and radio buttons etc. While users enter their answer into a textarea, they can press enter all they want. But when they start typing in a text input, if they type “enter” (accidentally, or maybe they hope another line will appear) the form suddenly submits.
I wonder if a JS solution like what’s mentioned here would be good? The point is to avoid submitting the form when users aren’t yet done entering their responses.The page I need help with: [log in to see the link]
- The topic ‘Users accidentally submitting form by pressing enter’ is closed to new replies.