Question

5
Replies
104
Views
Khnb38 Member since 2016 14 posts
Huntington Bank
Posted: 2 years ago
Last activity: 2 years 4 months ago
Closed
Solved

In Non-IE browser, Flow Action is submitted when pressing the Enter Key

Upon hitting the enter key on a text input field, the flow action is getting submitted in Non-IE browser. Using 6.3 SP1

The below code works fine in IE but not in Chrome/FF.

function disableEnterKey(e)
{
var key;

if(window.event)
key = window.event.keyCode;

if(key == 13)
return false;
else
return true;

}
document.onkeydown = disableEnterKey;

User Interface
Moderation Team has archived post
Share this page LinkedIn