Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to prevent modal page submit when Enter key is pressed?

Eslam_ElbyalyFeb 2 2020 — edited Feb 4 2020

Apex 18.2.

Hi,

I have a modal page(2) with many display only and hidden page items except a Number field(Amount). Close Dialog Edited: process dynamic action is set to never render. There is a branch to page(1) that does not have a server/client side conditions. The modal page is called from page 1 through clicking on a column of type Link that redirect to it.

When enter the Amount field and press Enter key, the page is submitted. I can see it's a known problem but I am not into the solution which is to create a page item and set it's style to "display=none". Is there a better solution?

This post has been answered by fac586 on Feb 3 2020
Jump to Answer
Comments
Post Details
Added on Feb 2 2020
8 comments
1,662 views