Question

20
Replies
6055
Views
Close popover
Nicole White (NicoleW1571)
Optum

Optum
US
NicoleW1571 Member since 2015 13 posts
Optum
Posted: April 26, 2016
Last activity: May 11, 2016
Closed
Solved

How to Get Enter Key to click the Submit Button

Hello:

I am trying to configure a Text Field, so that when Enter is clicked, it simulates the 'Submit' button being clicked.

I have configured the Behavior as: Event: Keyboard-Enter  Action : Refresh Section, Run Activity "Search".

However when I hit Enter in the field, it kicks off the Flow Action, instead of Refreshing the Screen and running the Activity.

When I look at Tracer, the first line is

pyActivity = SubmitModalFlowAction

What IS working, is configuring this same action on a Button.

For the button, I set the Onclick Behavior to Refresh the Section, and the Run the Activity "Search".

It works fine.

When I look at Tracer, the first line is

pyActivity = ReloadSection.

So, how do I get the ENTER action, to work correctly on a Text field, like it does on a Button?

Instead of calling FlowAction, it should be calling ReloadSection

Message was edited by: Lochan to add Category

Case Management User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.