Confirmation Message in apex

Hi Guys,
I'm using apex 4.1 and so new to apex technology.
Is there any way to implement a pop up message to get user input in apex ? I know we can use Java Script for pop up. But what i want to know is, Is there any built in apex control for this purpose ? or Is there any other possible way other than going for Java Script ?
Thanks

You are in the wrong forum, this is the Oracle Forms-forum. Try the Apex-forum here Oracle Application Express (APEX)

Similar Messages

  • How to display confirm message in APEX pl/sql process

    I have a pl/sql process that selects success messages from a database table. These messages need to be displayed to the user and confirmed (only one button, to acknowledge/dismiss the mssage) along the way.
    Is there a way to do this within the process? I see lots of examples in the Forum of doing this in javascript (which I know very little about) but suspect there must be a simple way to do this in my pl/sql process.
    Help?
    Thanks,
    Carol

    Hi Carol,
    You can put you success messages inside page items or application items (when pages are rendered or processed...).
    Then using :
    1) javascript can display these values
    2) rendering the page can display these values
    Hope this help
    Louis-Guillaume
    Homepage : http://www.insum.ca
    InSum Solutions' blog : http://insum-apex.blogspot.com

  • Confirmation Message (apex.confirm) Does Not Display

    I am trying to use the version of apex.confirm that also sets the value of a page item. The APEX documentation provides this as an example of the correct syntax (cut and pasted from manual):
    apex.confirm("Save Department?", {
      request:"SAVE",
      set:{"P1_DEPTNO":10, "P1_EMPNO":5433}
      });I am trying to do the same thing in my code but, the confirmation is just not displaying:
    var hasUnsavedChanges = $v( 'P35_CHANGES_MADE' );
    if ( hasUnsavedChanges == 'TRUE' )
    alert('prompting')
       apex.confirm("You Have Unsaved Changes that Will Be Lost. Continue Anyway?", {
          request:"GOTOMARGCONFIRM",
          set:{"P35_CHANGES_MADE":FALSE}
    alert('prompted')
    else
    alert('submitting')
       apex.submit('GOTOMARGCONFIRM');
    };It never displays the "prompted" alert although the "prompting" one does display. I just can not spot any difference between the syntax I am using and the syntax provided by Oracle. I am only setting the value of the one item, P35_CHANGES_MADE.
    Can anyone help. BTW, just using the regular version of apex.confirm, i.e.
    apex.confirm("You Have Unsaved Changes that Will Be Lost. Continue Anyway?", "GOTOMARGCONFIRM");works fine.
    -Joe

    When the value of the item is not a number put the value within quotes.
    apex.confirm("You Have Unsaved Changes that Will Be Lost. Continue Anyway?", {
          request:"GOTOMARGCONFIRM",
          set:{"P35_CHANGES_MADE":"FALSE"}
       });

  • How to get the User input of Dynamic Action confirmation message ?

    Hi Guys,
    I'm using apex 4.1,
    I have added a confirmation message box as page Dynamic Action. How can i get the user input of that confirmation pop up ?
    Thanks

    Hi,
    you don't directly get the user input. But you should still be able to get what you want. Let's assume you have a dynamic action which fires for a "Change" (or any other) event and which has two or more actions
    1) Confirm
    2) Execute PL/SQL Code
    If the user clicks Cancel/No in the confirm dialog, APEX will stop the execution of this dynamic action and not run "Execute PL/SQL Code".
    Hope that helps
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Button not disabling using Java Script after confirm message in button

    I have a STAGEDATA button on a form with the following code to prevent Resubmissions (Apex 4.0)
    Action When Button Clicked:
    Action: Redirect to URL
    Execute Validations: Yes
    URL Target:
    javascript:if ( apex.confirm('Have you saved the data on the current page? Please confirm.','STAGEDATA') ) {javascript:this.disabled=true;this.value='Staging data...';apex.submit('STAGEDATA');}
    When I click the button, the confirmation message is displayed.
    However, after the confirmation message is displayed, the button is not disabled and the value does not show, while post processing of the page takes place before moving to the next page.
    Am I missing something?
    Appreciate your help. Thanks in advance

    Hi,
    try adding
    <script>
       alert('Testing');
    </script>
    This actually adds the script to the page body and not the header as af:resources does
    Frank

  • How to display a confirmation message before deletion

    Hi,
    I have an application and I want to display a confirmation message before people delete a record.
    The button on page 42 is number 90     "Supprimer cette fiche". It is a Submit as "DELETE_ALL". I have seen that the delete buttons are redirections to the url javascript:confirmDelete(htmldb_delete_message,'DELETE');, but I cannot use this as my button is not a redirection, but a submit.
    http://apex.oracle.com/pls/otn/f?p=4550
    Workaspace : ESPACE2008
    User : guest
    password : acdc2009
    Name of application is Activites
    Thank you for your kind answers.
    Christian

    Hi Christian.
    You can use the same logic for your own processing logic.
    the syntax is...
    javascript:confirmDelete(htmldb_delete_message,'YOUR_PROCESS_NAME');Replace 'YOUR_PROCESS_NAME' with the name of your page process that handles the bulk delete. Don't for get the single-quotes either side of your process name.
    Hope this helps.
    Simon

  • Confirm Message using Javascript

    Hello, I'm having some problems to create a confirm message box that will return a value from a Hiden field.
    For example:
    apex.confirm('Do you realy want delete use &P80_NAME_USER.');
    The name is showing but the problem is that if the P80_NAME_USER is changed the message still with the same name of the last user that was selected.
    Can someone help me?
    I'm using apex 4.1.
    Thaks, LéoVic.
    Edited by: LéoVic on Jan 14, 2013 1:43 PM

    As the value of &P80_NAME_USER. in your script is replaced by the actual value on the moment of rendering the page, you should use a JavaScript function to get the current value (when it can change on the page):
    apex.confirm('Do you realy want delete use '+$v('P80_NAME_USER'));

  • Confirm message to be displayed on the button click of the page

    Hi all
    I have a page with a button and some conditions on the button , now I want to display a pop-up message like a "Confirm message " , "Would you like to perform this action ?" , before that conditions are satisfied .. I am new to javascript and not sure of how to go about this .... can anyone has any ideas please !
    Would appreciate your response.
    thanks
    r

    Hi,
    In Apex 4 there is documented JavaScript function apex.confirm.
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21676/javascript_api.htm#CHDGHCBE
    Change your button action to be "Redirect to URL" and enter to URL Target
    javascript:apex.confirm('Submit data ?', 'SUBMIT');Change text and request according your needs
    Regards,
    Jari

  • Identify OK or cancel is clicked by user in Delete Confirmation message

    Hello,
    I am using oracle APEX 3.2 ;
    Can anyone please help me out with this issue. I want to identify whether OK or cancel button is clicked for the delete confirmation message when the delete button is clicked by the user. I am using the javascript
    confirmDelete(htmldb_delete_message,'DELETE'); message for deleting a record. I have an alert message popped out after delete confirmation appears. Below is the javascript function which does alerts the user.
    function deleteProcess()
    alert('Successfully deleted the record. Please click OK to close popup window and \n refresh the parent window.');
    window.close();//close the popup window
    window.opener.doSubmit('REFRESH');
    //call doSubmit function on the parent window to cause the page to refresh.
    For the delete button; I have set the target: URL and
    URL target: javascript:confirmDelete(htmldb_delete_message,'DELETE');deleteProcess();
    By my problem is deleteProcess() function is executing even if I click cancel button on the delete confirmation message.
    So, can anyone please help me like how to make the function deleteProcess() conditional ; I mean alert message should be popped out only when user clicks OK on the delete confirmation message.
    Thanks,
    Orton

    Hi Orton,
    Unfortunately confirmDelete() returns no value to test on (shame - that value can be very useful). As a work-around, replace your URL target with this:
    javascript:if (confirm(htmldb_delete_message)) {doSubmit('DELETE'); deleteProcess();}Hope this helps,
    John
    If you find this information useful, please remember to mark the post "helpful" or "correct" so that others may benefit as well.

  • Issue with page processing - confirmation message & show /hide a button..

    Hello,
    I am working on a to do list application.
    I have events and for each event, I show list of tasks (grouped in reports based on the calculated task's status).
    In one region I have a drop down list of events and a Select Event button.
    For each task, I had to create a CLOSE option (initially I used a link, but the requester wanted a confirmation before closing the task).
    Now I have a checkbox for each task (generated dynamically with apex_item.checkbox(1,task_id)).
    Closing a task in my application means to set the end_date to sysdate.
    I followed the instructions from
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/check_box.htm#CEGEFFBD. I've created also a button and a process and updated the sql from "delete" to "update".
    The process is set: OnSubmit - After Computations and Validations; Run Process Once per page visit (default).
    The issue number 1 is that I see the confirmation message (that tasks have been closed) every time I reload the page (the same when I click Select_event button).. not only after I press on that Close_task button..
    For issue number 2, I have to mention that I've added a condition to show / hide the Close_task button, only if I have at least 1 task in the report.
    The issue number 2 is that I see the button only if I click 2 times on the Select_Event button.. The same is for hide.
    I feel like I am missing something very important about how to synchronize different events(buttons clicks), processes..
    help..?
    Thank you!
    Anca

    This forum is magic..
    As soon as write here, I find the answer!
    Issue 1: I fixed it by specifying this: When Button Pressed (Process After Submit When this Button is Pressed) and my button. I miseed this 1st time.
    Issue 2: I moved the button after the report.. and now it's working just fine!
    I did this about it for some time before asking the question here.. but I just had to write here and got the right answer ;)
    Have a nice day!
    Anca

  • Prob.. confirm message

    hey...
    its the updation query.In this page when i click the update button it updates the values in the row..and this query is working...
    I want to do that..when i click a update button it gives me a confirms message whether did u want to update the row and also displaying the particular gl_code no in that confirms message.when i click on yes it updates the row..otherwise it doesnot.
    after updation it shows message that this particular gl_code no is has been updated.
    <%
    String action = request.getParameter("action");
    if (action != null && action.equals("update")) {
    conn.setAutoCommit(false);
    PreparedStatement pstatement = conn.prepareStatement(
    "UPDATE gl_mast SET gl_descr = ?, db_amt = ?, " +
    "cr_amt = ?, gl_type = ? , gl_pct = ? WHERE gl_code=?");
    pstatement.setString(1, request.getParameter("gl_descr"));
    pstatement.setFloat(2,Float.parseFloat(request.getParameter("db_amt")));
    pstatement.setFloat(3,Float.parseFloat(request.getParameter("cr_amt")));
    pstatement.setString(4, request.getParameter("gl_type"));
    pstatement.setFloat(5,Float.parseFloat(request.getParameter("gl_pct")));
    pstatement.setInt(6,Integer.parseInt(request.getParameter("gl_code")));
    int rowCount = pstatement.executeUpdate();
    conn.setAutoCommit(false);
    conn.setAutoCommit(true);
    %>
    <%
    Statement statement = conn.createStatement();
    ResultSet rs = statement.executeQuery
    ("SELECT * FROM gl_mast ");
    %>
    <form action="gl_update.jsp" method="get">
    <input type="hidden" value="update" name="action">
    <tr>
    <td><input value="<%= rs.getInt("gl_code") %>" size="5" name="gl_code"></td>
    <td><input value="<%= rs.getString("gl_descr") %>" size="55" name="gl_descr"></td>
    <td><input value="<%= rs.getFloat("db_amt") %>" size="12" name="db_amt"></td>
    <td><input value="<%= rs.getFloat("cr_amt") %>" size="12" name="cr_amt"></td>
    <td><input value="<%= rs.getString("gl_type") %>" size="3" name="gl_type"></td>
    <td><input value="<%= rs.getFloat("gl_pct") %>"size="5" name="gl_pct"></td>
    <td><input type="submit" value="Update"></td>
    </tr>
    </form>

    int rowCount = pstatement.executeUpdate();
    conn.setAutoCommit(false);
    conn.setAutoCommit(true);
    Just a doubt... could you tell me why you are doing this?
    ***Annie***

  • Warning message in APEX

    Hi,
    in a process I call a procedure and I have a variable out. p_erreur out VARCHAR2.
    I want to display a warning message in APEX when p_erreur = 1.
    Thank you for your help
    Jade

    I found the solution:
    NOT_SENT exception;
    begin
    P_CC (: parm1,: param2, v_erreur);
    IF v_erreur =1 THEN
    RAISE NOT_SENT;
    END IF;
    end;
    after putting your message in error Process Error Message.
    Jade

  • Jdbc adapter error on confirmation message in message monitor (rwb)

    I have the scenario iDoc -> PI 7 - > jdbc (AS400 odbc driver).
    When I do INSERT statements, the data is stored in the Database and the RWB message monitoring shows status Successfull.
    However, for every insert, an other message shows up in the message monitoring with reversed Sender and Receiver (so it looks like a confirmation message is trying to find its way back to XI). This message first is is Status "Waiting", and after some time gets in Status "System Error".
    As I am not expecting any responses in my XI configuration (as I have no place to send them to), I want to stop these messages showing up in the Adapter Engine (as there will be many Error Status messages that are of no interest to me).
    How can I stop these messages, or what should I do in XI to process them (and dump them in my receiver determination). I have NO  BPM involved .

    Hi,
    For each open connection a entry is made j2ee stack.So when the it reaches to max and execption is thrown.
    In Jdbc adapter configuration -> advance mode -> Set -> Disconnect from the database after processing each message.
    Should solve the prob
    <b>Cheers,
    *RAJ*
    *REWARD POINTS IF FOUND USEFULL*</b>

  • Misleading error messages in Apex

    Hello all,
    I am looking at default values. I simply want to go to the database, call a functin and set the value using PL/SQL Function Body. Here is what happens:
    Check in SQL*Plus first ...
    blast:Blast-Bld@ORCL> delete blast_log;
    6 rows deleted.
    blast:Blast-Bld@ORCL> commit;
    Commit complete.
    blast:Blast-Bld@ORCL> select W_REG.GET_MONTHLY_FEE(1000) from dual;
    W_REG.GET_MONTHLY_FEE(1000)
    39.95
    1 row selected.
    blast:Blast-Bld@ORCL> @log
    MDL UNT Typ MSG
    W_REG GET_MONTHLY_FEE I Begin
    REG IS_VALID I Begin
    REG IS_VALID D Check Reg ID: 1000 Found 1 row(s). (1 = True else False).
    REG IS_VALID I End
    W_REG GET_MONTHLY_FEE D Return Reg Fee: 39.95
    W_REG GET_MONTHLY_FEE I End
    6 rows selected.
    blast:Blast-Bld@ORCL> delete blast_log;
    6 rows deleted.
    blast:Blast-Bld@ORCL>
    Now run Apex:
    Get the following message:
    ORA-01403: no data found
    ERR-9131 Error in PLSQL function body for item default code, item=P1000_MONTHLY_FEE
    Return to application.
    Look at item P1000_MONTHLY_FEE ...
    Default = RETURN W_REG.GET_MONTHLY_FEE(1000);
    Type = PL/SQL Function Body.
    Look in database logging table:
    MDL UNT Typ MSG
    CODE GET_CODE_SET_ID I Begin
    CODE GET_CODE_SET_ID D Get Code Set ID for PersSalut
    CODE GET_CODE_SET_ID I End
    Function was not called!!!!
    To be absolutely sure, call again from SQL*Plus with cut and paste ....
    blast:Blast-Bld@ORCL> select W_REG.GET_MONTHLY_FEE(1000) from dual;
    W_REG.GET_MONTHLY_FEE(1000)
    39.95
    1 row selected.
    blast:Blast-Bld@ORCL> @log
    MDL UNT Typ MSG
    CODE GET_CODE_SET_ID I Begin
    CODE GET_CODE_SET_ID D Get Code Set ID for PersSalut
    CODE GET_CODE_SET_ID I End
    W_REG GET_MONTHLY_FEE I Begin
    REG IS_VALID I Begin
    REG IS_VALID D Check Reg ID: 1000 Found 1 row(s). (1 = True else False).
    REG IS_VALID I End
    W_REG GET_MONTHLY_FEE D Retunr Reg Fee: 39.95
    W_REG GET_MONTHLY_FEE I End
    9 rows selected.
    blast:Blast-Bld@ORCL>
    Looks Fine.
    Thus the message returned from Apex is misleading to say the leaset.
    Any ideas?

    Thanks guys,
    (Note that LG is a logging package)
    Note also that the reg id is checked first (IS_VALID) to avoid NDF exception.
    But what prompted me to make the post is not so much the function, but rather that the message from apex is not very helpful .... unless I'm missing something.
    thanks again.
    here is the function:
    FUNCTION GET_MONTHLY_FEE (p_reg_id REGISTRATIONS.REG_ID%TYPE)
    RETURN REGISTRATIONS.MONTHLY_FEE%TYPE IS
    l_monthly_fee REGISTRATIONS.MONTHLY_FEE%TYPE;
    BEGIN
    LG.PUSH('W_REG', 'GET_MONTHLY_FEE');
    if REG.IS_VALID(p_reg_id) then
    select nvl(monthly_fee,0)
    into l_monthly_fee
    from registrations
    where REG_ID = p_reg_id;
    else
    LG.POP_ERR('Invalid Registration ID: '||p_reg_id);
    RETURN SYS_CODE.C_INT_NOT_DEFINED;
    end if;
    LG.W ('D', 'Return Reg Fee: '||l_monthly_fee);
    LG.POP;
    RETURN l_monthly_fee;
    END GET_MONTHLY_FEE;

  • Exporting to PDF - Selection Formula confirmation message

    Hi,
    We're using Crystal Reports 11 from within a Delphi 7 application which, on a timed schedule, loads data into a MS SQL server database and generates and prints or e-mails a report of the data loaded in PDF format. This process should be automatic and not require monitoring but we're now seeing the report generation being stalled by a confirmation message appearing when the report is generated. The message reads:
    Confirm
    Selection Formula for {Report Name} to Printer   // or To Export
    {Selection Formula Here}
    Continue?
    (RETRY=edit with Crystal, All=copy to clipboard)
    Buttons: Yes No Retry All
    Any help appreciated.
    Thanks,
    Garry

    I'm wondering if this could be easily fixed by going to the links panel and then use the "Copy Links To" and set up a new links folder for the job.
    That would copy all the links and then relink to that folder - right?
    Perhaps that's a quick way to get rid of this problem.
    It could be anything though - I've had weird, but not this problem, of files that are on a server can cause link problems.
    I don't know - it's a one of those have to sit down and look at the files to see what's going on situation - like Bob already said.

Maybe you are looking for

  • PF & Pension Deduction on Basic Arrears

    Dear Consultnats, May I know in which Wagetype, Employer's PF & Pension contribution on Basic Arrears is stored ? I have marked Basic Arrears Wagetype 1ARR for Cumulation Class 11 (EPF Basis). Still the Pay slip shows the Employer PF & Pension basis

  • [AS] How to test the presence of at least one table?

    Hello everyone, I would like to test for the presence of at least one table in a document before starting a process (on edge strokes).  I found this, but I do not know if this is really effective:                               set CountOfTables1 to c

  • Export as QT or via compressor

    Hi everyone, Sorry for cross posting, but I've had no replies on the DVD SP forum. I'm editing in FCP and making a menued SD DVD. I've had success in laying out the DVD project. The source material is low quality and duration overall a few minutes. I

  • CST to be added on freight

    Hi all, We are using TAXINJ. till now Freight was not considered for CST calculation. But now user wants CST to be calculated on (Basic PriceEDFreight), Can any one guide me for the required changes to be done in TAXINJ & in M/08? Regards Edited by:

  • Catcherror event "catch all system exceptions" is not catching subLanguageExecutionFault

    catcherror event "catch all system exceptions" is not catching subLanguageExecutionFault in BPM process