Can I use like a message box with PL/SQL?

Hi!
Well I was making some tests on my forms then i realized that when i erased something it was just like that, no anouncement or something like that and it was gone, so i think users of this might make mistakes, iike erasing somedata very easy, so I want to do something to send a confirmation message in case that the user intents to erase something, something like a messagebox ....
so I want to use PL/SQL code to do this and i believe that the code should go in the +... before processing the form. + section for my form...
can you help me? 'cause I don't know how to do it?
thanks in advance.
aTTe
Blume

You may use the javascript code embedded into pl/sql to prompt users. This means you can put this in all of those places where you may include your html code. for example, in the submit button's html specs.
You may keep the following code in the additional pl/sql code region and then call such a function (eg, alertCancel() ) in the submit button of your form. Here is a working example.
    htp.p('
          <SCRIPT LANGUAGE="Javascript">
          function alertCancel()
                 if (confirm("Do you really want to cancel this request?") {
                      window.close();
       </script>
    ');Just do a google search for how to call a javascript function from html, if you need.
hope that helps!
AMN

Similar Messages

  • Can I Use DAQ Event Message 9 with My PCI-6033?

    I would like to handle my counter board's interrupts by using DAQ event message 9. If Yes, I would to like to see an example in VB?

    Counter events are not supported under NI-DAQ for E series devices. It is possible that what you are trying to accomplish could be done just as easily with a timed loop in DAQmx, what is your application?

  • Can you use a home signal box with airport?

    I have just been sent a home signal box by my mobile phone provider (3) as I have poor signal at home.  It works if connected directly to the router but not when plugged into the airport.
    Has anyone come across this issue?
    Thanks
    Taryn

    There have been a number of successful cases of establishing a WDS between the Linksys WRT54G series and the 802.11g AirPort Express Base Station (AX), but I am not aware of anyone that has been successful using a WRE54G to extend the AX.

  • Can not take a screenshot with Maverick and track pad.  can not use apple chat to talk with a tech.  there are other issues also like I used to be able to go back a page with the delete button.  No Maverick PDF to instruct on how to use Maverick

    Can not take a screenshot with Maverick and track pad.  can not use apple chat to talk with a tech.  there are other issues also like I used to be able to go back a page with the delete button.  No Maverick PDF to instruct on how to use Maverick
    THE use of the apple support is a mess also.
    I want to be able to use my MAC fully and easily like I used to with Snow Leopard. 
    What is wrong with this maverick OS?

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • I would like to have my iPad2 mirror onto 2 TVs at the same time. Can I use the iPad HDMI connector with a HDMI splitter to accomplish this?

    I would like to have my iPad2 mirror onto 2 TVs at the same time. Can I use the iPad HDMI connector with a HDMI splitter to accomplish this?

    I don't want to spend the money on the HDMI connector and HDMI splitter if it won't work.

  • Macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple,

    macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple, the same error message box appeared again and again every time OK was clicked.  Now the macbook will not turn on at all

    If you're able to boot, launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post "shutdownStall" or "hang" reports.
    If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all.
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.

  • Firefox 4 displays multiple message boxes with "uninstall set'. How do I stop this?

    Firefox 4 displays multiple message boxes with "uninstall set'. They cannot be closed and they freeze Firefox. The only way to stop is to END TASK through the Task Manager.
    OS: Vista) with all service packs and updates as of 21 Apr 2011. All other browsers and applications are closed.

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    See:
    * [[Troubleshooting extensions and themes]]

  • Can I remove the annoying message box thingy beneath the search bar on FF 8

    Can I remove the annoying message box thingy beneath the search bar on FF 8

    You can hide the box that shows the snippets with code in userChrome.css
    Add code to userChrome.css below the @namespace line.
    * http://kb.mozillazine.org/userChrome.css
    * http://kb.mozillazine.org/Editing_configuration
    You can use the ChromEdit Plus extension to have easier access to the customization files.
    * ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html <br />
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    /* hide snippet container on the about:home page */
    #snippetContainer { display: none !important; }
    </nowiki></pre>

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

  • Can I use a sata3 hard drive with a late 2009 imac

    Looks liker the hard drive in my five year old iMac is about to go belly up. Was getting hardware errors, very slow startup and Carbon Copy Cloner reported bad blocks during the backup. I want to buy a new HD at a local store and have the Apple store install it. Will they do that and can I use a SATA 3 drive with my older iMac?

    YEs you can use a SATA III drive but the Apple Store will not install it for you. Find an AASP and see if they'll install a drive for you.

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • My wife and I each have an iPhone4 with separate Apple IDs. We are hopefully about to purchase the 4th gen iPad; can we use iCloud on the iPad with separate IDs on the iPhones?

    My wife and I each have an iPhone4 with separate Apple IDs. We are hopefully about to purchase the 4th gen iPad; can we use iCloud on the iPad with separate IDs on the iPhones?
    We would like to have all our music, photos, etc. on the iPad - is it best to create a new combined Apple ID for the iPad and simply upload our music, photos, etc. via our laptop instead? Does this not then render the iCloud useless to us?

    And just in case you were wondering, installing one purchased copy on all the Macs you own is specifically called out as allowed in the Mac OS X Lion license.
    If you do not want to download multiple times, just copy the Applications -> Install Lion app to a safe place BEFORE you do the first install.  Then copy that copy to any Mac you own where you want to install Lion.

  • Can I use ICal 5.0.3 with Mountain Lion?

    Can I use ICal 5.0.3 with Mountain Lion? The new ICal dropped Reminders!

    Reminders App won't print and won't sort, etc with Calendar like it iused to. The old ICal is a better App.

  • Can I use Adobe Premiere and Photoshop (with cloud license) on more thn one computer.

    Can I use Adobe Premiere and Photoshop (with cloud license) on more than one computer? WHen on the oroad I would like to use it n my laptop, while I installed on the desktop.

    Hi Kasiah,
    As per the EULA accepted while you launch Adobe applications you can download & install on 2 systems but can use on one at the same time.
    Source:http://www.adobe.com/in/products/creativecloud/faq.html
    Let me know if you have any questions on this.
    Cheers~!
    -Mandhir

  • Can I use a 2tb external drive with Time Machine to backup my Mac Mini (256gbSSD + 2tbHDD)?

    Can I use a 2tb external drive with Time Machine to backup what I have on my Mac Mini?
    My Mac Mini has one 256 SSD and one 2tb HDD. I want to use Time Machine to do a backup of everything.
    Would an external 2tb My Passport Drive by Western Digital work for the backup?
    It seems like it would not work because the total storage on the Mac Mini is 2304 gigabytes (SSD + HDD).
    And the external Western Digital drive is only 2048 in gigabytes versus 2304 gigabytes the Mac Mini has.

    No. A Time Machine backup drive should have at least twice the capacity of the drive it backs up. You would need at least a 4 TB backup drive for Time Machine.
    Might I suggest as an alternative that you not use Time Machine but a third-party backup utility that simply overwrites older files with new ones such that the backup drive can be the same capacity as the drive backed up.
    Suggested Backup Software
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Others may be found at MacUpdate.
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files.

Maybe you are looking for

  • Download and upload zcl_class

    how i can download and upload zcl_class??

  • How to use Resever Field for Customer Master

    Hi My Client Requirement. Price should be determine with Sales ORG, Distribution channel, Division, Districts, Talukas and Villages. But Talukas and villages are not available in SAP standard systems. Is it possible to use reserver field in Customer

  • How does QuickTime 10 go to pro? Can you uninstall it and put QuickTime 7 in it's place?

    You can't upgrade QuickTime 10 to pro (yet). Can you uninstall 10 and install QuickTime 7 in OSX 10.6.8 so it can be upgraded to pro?

  • Sony Bridge 2.1 workarounds and fails

    It is sad to see Sony is following the fallacy that lead to ruin of many companies, but it is here: Sub-par software that shouldn't be called more than beta, bad user experience for the sake of following "market experts and statistics" etc... etc...

  • WRT54G Router Issues

    I am currently connected to a cable modem and have 8 other computers connected to the internet via the Linksys router and network adapters. There is no problem with the cable modem it is connected and functioning properly, the router is experiencing