Question

5
Replies
111
Views
Close popover
Nipun Khokhar (Khnb38)
Huntington Bank

Huntington Bank
US
Khnb38 Member since 2016 14 posts
Huntington Bank
Posted: May 15, 2018
Last activity: May 17, 2018
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 Experience
Moderation Team has archived post