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!

Warning dialog after button

Brad ChrissJul 23 2020 — edited Jul 23 2020

I've created a form, hidden, and to be visible at the press of a button.  I have coded (html, css, js) a custom dialog box to show the correct buttons instead of just OK or CANCEL.  I want to use the custom dialog box to bring up a warning, if the use selects yes to continue, the true action occurs, if the use selects no, nothing happens and the dialog box goes away.

Actions I've tried;

I added a "execute JS script code" under the true action to create the dialog box object, then added event handlers to the buttons to return either the yes or no.

Operation trying to be accomplished.

The point is to execute DML in the database, then show the form and hiding the static content housing the original button.

Comments
Post Details
Added on Jul 23 2020
1 comment
236 views