Here's the post about clicking a button when pressing the Enter key:
http://www.symantec.com/connect/forums/hitting-enter-workflow
Here's the content of the post that directly addresses that concept:
Give the button a name by Edit Component -> Tab: Functionality -> Check Specify Control Id -> Type Name eg. 'btnEnter'
In the textbox component Edit Component -> Tab: Functionality -> Custom Events:
Click Add -> AttributesKeyValuePair
Event: onKeyPress
Event Handler: if (event.keyCode == 13){ event.returnValue=false;event.cancel = true;btnEnter.click();}
Now to adapt that to what you want, which sounds like "ensure nothing happens when a user presses enter when the focus is on a specific element", change the code to this:
if (event.keyCode == 13){
return false;
}
Let me know if that helps.