Normally when a user presses enter, it will submit the form. To disable it, you can write a simple code in the form 'on submit' event "return false" without quotes.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
It is useful for searching a form when you do not want to submit the form.