Submit form when users clicks the Enter key anywhere on the form

Insert the code shown below in the onKeyPress event of the form.
JavaScript • Lotus Notes Form


if(event.keyCode==13) {
   document.forms[0].submit()
}

Posted by fbrefere001 on Sunday March 23, 2003