You can do this with a Dynamic Action:
Event: Key Press
Selection Type: Item(s)
Value: this.browserEvent.which === 13
Then in the true action, you fire the same process as clicking the button does, so in your case a Submit Page.
Thanks Malcolm. But I dont see any change in action even after writing the dynamic action code.The page is working only after I click the submit button. Am I missing something?
I have created the test scenario in apex.oracle.com. can you check this.
Thanks in advance.
1 person found this helpful
Please update your forum profile with a real handle instead of "user10755387".
I have a page with textfield and submit button. but every time user has to use mouse to click on submit button .
how can i make the page work even if user just press "Enter" on keyboard.
it should work similar to login page where user can either use mouse or simply press "enter ". Any help on this please ?
Set the Submit when Enter pressed setting of the text item to Yes.
Thanks For the help.
Apart from Setting the Submit when Enter pressed setting of the text item to Yes. I had to separate the process.
It works only when I separated the After submit process
1- one After submit process for submit button
2 -Another After submit process when button pressed- No button condition
condition type = Curren page = page submitted(this page was posted).
I'm not sure what your page looks like, but you could probably simplify this with one After Submit process with a PL/SQL condition of :REQUEST IN ('P10_FIELD','P10_BUTTON') and leave the 'When Button Pressed' field blank.