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!

Form pop up message

Staš ČarfNov 20 2024

Hello!

I am currently trying to set a pop up message for when I create a new entry in a form. I've come so far that the message pops up, but what's bothering me is that over the message I'm getting a loading indicator that completely covers the message so it's hardly visible. The other thing that's even worse and I have no idea how to fix, is that two entries are written in table instead of one. As if I submitted the form twice instead of once. Below is the PL/SQL code for a process and a JS code for DA.

BEGIN

   INSERT INTO DEPARTMENT (DEPT_ID, DEPARTMENT_TITLE)
   VALUES (DEPT_SEQ.NEXTVAL, :P2_DEPARTMENT_TITLE);
   
   COMMIT;
   
END;
$(function() {
   $("<div>Successfully created a new department!</div>").dialog({
       title: "Success",
       modal: true,
       buttons: {
           "OK": function() {
               $(this).dialog("close");
           }
       }
   });
});
Comments
Post Details
Added on Nov 20 2024
3 comments
255 views