Asked • 04/09/19

Prevent users from submitting a form by hitting Enter?

I have a survey on a website, and there seems to be some issues with the users hitting enter (I don't know why) and accidentally submitting the survey (form) without clicking the submit button. Is there a way to prevent this? I'm using HTML, PHP 5.2.9, and jQuery on the survey.

1 Expert Answer

By:

Dave S. answered • 04/10/19

Tutor
5.0 (71)

Experienced computer professional ready to help!

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.