I am a newbie. When entering data in a form pressing enter submits the form. I want to avoid this. I found several answers by calling javascript in <body> tag of the page, which were similar to following link
The simplest way to do this is to not use a submit button. Put your own non-submit button on your form and use an event handler to do the submit. I am not sure, however, if this works across all browsers. I bet IE will submit anyway.