Hey,
I am using APEX 3.2 and having trouble not allowing the Enter button to submit a form. I have tried a number of JavaScripts like below but I am not having any success within APEX. Does anyone know how to not allow a Form to submit when the Enter button is clicked? I have a button that will submit the page not the Enter button.
function checkCR(evt) {var evt = (evt) ? evt : ((event) ? event : null);
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
if ((evt.keyCode == 13) && (node.type=="text"))
{return false;}}document.onkeypress = checkCR;</script>