Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

The Flow Action is submitted when pressing the Enter Key



On adding one text input control in the section and hitting the enter key flow action is getting submitted. If adding two text inputs on the section then issue is not replicable.

Error Messages

Not applicable.

Steps to Reproduce

  1. Add one text input in the section with Edit only.
  2. Press Enter key.

Root Cause

Not applicable.


Perform the below local-change steps:
  1. In the section containing the single text input, add a non-auto generated section say disableEnter.
  2. In disableEnter section, add the below code snippet.


To disable the Enter functionality across the application, one can add the code snippet in UserWorkForm rule:

Code Snippet:
function disableEnterKey(e){

var key;

key = window.event.keyCode;

if(key == 13){
return false;

return true;

document.onkeydown = disableEnterKey;

Published August 3, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us