Button Prompt "Are you sure?"

I have a delete button on one of my applications that has a "PROCESS" that has SQL statements that delete a record once depressed. Once you click this button, it deletes instantly. Is there a way to have a popup or something of the sort ask "Are you sure you want to delete this record?" or something of the sort with "Yes" or "No" buttons; Yes continues, No cancels the process?
~Tom

Found the answer -
"javascript:confirmDelete(htmldb_delete_message,'DELETE');" in URL Location.
Thanks all. :)

Similar Messages

  • Prompting "Are you sure you want to shutdown your computer now?" and konks if idle...

    I own a MBP 13" which is 7 months old. I have been having a serious problem for the past four days.
    1. Sometimes it konks out during the startup apple logo screen.
    2. When logged in it keeps prompting " Are you sure you want to shutdown your system now?" with options "Shutdown, sleep and cancel". Everytime I cancel it reappears when left idle for 5 secs and have to cancel it otherwise it shuts down the system.
    I have been talking to the apple support team for the past four days for technical support related to software issues.
    I have tried every routine advised including software update and finally reinstalling the OS. It keeps recurring. The support team says it might be a Hardware issue and has asked me to take it to a service center.
    I have also run the Apple Harware Test which came out "No problems found!".
    I also tried googling the problem online only to find one such thread but sadly without a solution.
    http://sonsofsamhorn.net/topic/58629-are-you-sure-you-want-to-shut-down-your-com puter-now-randomly-appearing/
    I am leaving to the service center now. Please help!!

    Are you running on AC or battery power? Open System Profiler, click on the Power item in the sidebar list. What sort of battery health is indicated? When the AC adaptor is connected does the battery charge, and does it charge fully?
    Does this problem occur if you boot into Safe Mode?
    Create a new user account then log into the new account. Does the problem occur in the new account?

  • Creating an email inside DPS without the prompt "Are you sure you want to leave..."?

    In my search to insert a button that creates an email, I found this spectacularly helpful article by jlockman
    Sending email and email attachments from DPS publications
    Using his code as a template, I was able to do exactly what I wanted. Now my article contains a web overlay button that creates an email filled with everything we wanted (to:, subject:, body...) Now we are wondering: Can we disable the prompt that comes up? "Are you sure you want to leave this application to send an email?"
    Thanks!

    Unfortunately, Erin, the OS will always warn you when an app attempts to direct you somewhere outside of the app. This is a security measure so that apps can't hijack or spoof you.

  • Computer is automatically prompting "Are you sure you want to shut down....

    On friday i posted that the iBook was restarting itself, now it is getting a tad bit clearer, sometimes when I boot up, i can hear the chime several times, sometimes it will make it to the desktop and then shut off immediately. Then I noticed while i used Word the prompt "Are your sure you want to shut down..." I pressed cancel. 5 seconds later, the same. Thats when I realized, there must be something wrong with the iBook that is either giving the command to shut down or that the button is...faulty?. I press the button and the prompt does appear, but, the button feels firm. Like most Mac users I pamper my mac, and nothing rattles inside. What can be happening? How can I diagnose what is wrong. I have tons of work and I don't feel like dropping the iBooK at Apple right now.
    Paul

    Sounds like a hardware issue to me, as did your first post. I know you don't want to but I think your best bet is to take it to the shop. First though, I would try and backup everything I could.

  • Timesheet Cancel Button - no "Are you sure?" warning

    Hi,
    ESS WebDP timesheet ECC6 WAS 7.0....
    We have implemented ESS timesheets but have a complaint that the "Cancel" button on the timesheet throws away data without warning.
    I switched on "workprotect" mode  that prevents "Persaonal Info" being lost but the timesheet "Cancel" button ignores this and just exits the screen loosing the entered data.
    Any idea if there is a way of configuring the "Cancel" button on Timesheet to ask the user whether they are sure they want to throw away their data?
    TIA
    J

    Hi Jambo,
    see if you can specify any client click attribute for the cancel button. If you can then provindig a java script will solve the issue...use the confirm popup function of the java script...
    hope this helps..

  • How to disable "Are you sure you want to copy this file without its properties?"

    copying from NFTS to Fat32 I get a prompt
    "Are you sure you want to copy this file without its properties?"
    the answer (for me) is always yes
    is there a way to disable the prompt ?

    This may be caused by the presence of NTFS Alternate Data Stream which cannot be copied to FAT32.
    Either format destination as NTFS or use utility like 
    http://www.nirsoft.net/utils/alternate_data_streams.html
    to scan/delete the ADS before copy. From the link above, below are some examples of when an ADS might be created
    1. Favorites of Internet Explorer: When You add a Web site link into your 'Favorites', a .url file containing the url and description is created. However, if the Web site also have an icon (favicon), the icon is saved as alternate stream for the same url file.
    The stream name of the icon is :favicon:$DATA
    2. Downloaded files of Internet Explorer: When you download and save a file with Internet Explorer, it automatically add a zone information for the saved file. This zone information is used for identifying the file as downloaded file from the Internet. The
    stream name in this case is :Zone.Identifier:$DATA
    3. Summary information of files: When you right-click on a file in Explorer and go to the 'Summary' tab, you can add summary information for the file, like title, subject, author, and so on. This summary information is also saved into alternate stream. The
    stream name in this case is SummaryInformation:$DATA.
    In addition to the legitimate usage of alternate streams, this technique may also be used by Viruses/Trojans/Spywares for saving data and hiding it from the user.
    In the case of files downloaded from the internet you could also try the methods in the link below to remove the zone identifier
    http://www.howtogeek.com/70012/what-causes-the-file-downloaded-from-the-internet-warning-and-how-can-i-easily-remove-it/

  • "Are you sure you want to shut down your computer?" prompt pops up for no reason and continues to pop up after selecting Cancel. How can I stop this?

    "Are you sure you want to shut down your computer?" prompt pops up for no reason and continues to pop up after selecting Cancel. How can I stop this?
    Mac Pro. OS 10.6.8

    Then I suggest you read this thread regarding the 30" Apple Cinema Display and that particular message pop up... several possible causes... common denominator, the display.
    http://forums.macrumors.com/showthread.php?t=617367

  • Add are you sure question to button

    Hello,  I just want to be able to add an "Are you sure" question to the "Clear entire Form" button I have, in case they click the button on accident or something.. If anyone can help that would be great..
    Thanks

    // ask question and capture response
    cResponse = app.alert("Are you sure you want to clear this form?", 2, 2);
    if(cResponse == 4) {
    // Yes response - then clear the form
    this.resetForm();

  • Random "are you sure you want to shut down" prompt

    i have briefly searched this forum for this issue and have found similar questions, but no solution for me. help!
    my macbook pro will randomly give me the "are you sure you want to shut down" prompt. i hit cancel and then it shuts down anyway. half of the "random" times are when i come back to the computer after a while (either asleep, or closing the clamshell). it happens when i'm running on the battery or plugged in. it happens for a while, sometimes all day long, and then it might not do it for months. it happens either when i'm working or just checking email. i've checked the console and see some suspect things but i don't understand any of it. i'm a graphic designer, not an IT person. i have googled some of the phrases found in the console but the solutions proposed are all too technical for me and i can't figure out what to do. I've zapped the PRAM and it might work for a day. I've verifed disk permissions and all that other stuff and nothing has ever been found. about a month ago i finally took it to the genius bar at the apple store and they kept it overnight to check it out. they didn't find any issues with the hardware and suggested i do a clean reinstall. i did that and about two weeks later, it started again. could this perhaps be lemon? i replaced the hard drive after owning this machine for one year. i've had the computer for about 2 years now.
    will somebody please help me?! i am a busy stay-at-home mom and can't spend my time searching forums and messing with this thing!

    hi there,
    i took the thing into the apple again last week and they ran some more tests. this time they found the logic board, more specifically the "accelerator" was messed up. they replaced the logic board and so far, no problems. but it's only been a week. i was super irritated that i even had to pay for the repair since i think the computer is a lemon. they used the "excuse" that i didn't have apple care and the machine was out of warranty. and also, that no problems were ever documented with apple. i think purchasing apple care is a scam. i have never had a problem with any of my other apple products so i have never seen the need to spend that kind of money. what kind of crap are they producing if they want all their customers to purchase apple care. bah!  needless to say, i'm very upset with the way apple handled this. i've been a loyal customer since the early 90s and have spent enough $$$ with them. they can't pay for this repair? it's a manufacturing problem, not my fault.

  • HT1414 When I hit restore a file menu from my computer pops up and I am not sure what file to put in to get my iphone to restore from.  I don't get the box that says are you sure you want to restore.  So how do I get it to restore so I can see if this fix

    I got a "new" iphone from the Apple store when my dog bit the phone and cracked the front.  This new phone will not play any music, ie no sound will come out.  I can watch videos with sounds but no music from any of my playlists.  I checked with Apple and was told to try to restore my iphone.  I did all the necessary prep work like backing up and syncing and then hit the restore button on the iTunes page.  A file menu icon popped up with a blank in it and I do not know what file I need to put in the window as where it needs to find a file to restore the phone.  I never got a message that said are you sure you want to restore the phone.  I need some help if anyone knows how to do this or should I just go back to the Apple store (which is over an hour away)?  Thanks

    I am syncing my iphone to my iTunes account and then I do a backup and also making sure all updates are current.  Then by going to the my phone and then going to the right and selecting the restore my iphone.
    Here is a picture of what I get

  • Message "are you sure you want to shut down your computer now"

    I am in OS 10.8.5 on a Mac Pro. I get repeated message  upon start-up "are you sure you want to shut down your computer now?" Restarting does not stop the message. Nor does canceling it. It keeps occuring, blocking my ability to do applications. Because it comes to the front all the time, and the "shutdown" button is lit, if I inadvertently hit a return key while typing something else, the computer shuts down. I have a western digital backup disk-dismounting that has no effect. I have also run the disk utility permissions repair a few times to no avail.
    Thanks for any advice.
    Nov 26, 2013

    This might happen if your power button is malfunctioning.  Remember a slight tap of the power button will bring up that screen.  Bring it in for service if it is readily reproducible.

  • How do I prevent "are you sure?" pop-up when trying to exit a web page?

    The "are you sure you want to leave this page?" pop up whenever I try to exit a web page is driving me crazy. There must be a way to prevent it but I've found no solution. One reply to the forum called it the "onbeforeclose" and suggested it might be eliminated in the "about:config" part of Firefox, but searching "about:config" I found no such entry. What can be done to stop this highly irritating pop up and prevent it from ever appearing again?

    My problem is that none of the suggestions other than completely shutting off JAVA will stop the problem.
    It is very annoying to go to a site and try to leave, and even try closing the browser and not be allowed to due to a running script.
    The only way I have found out of it is to unplug the internet connection, and restart the computer. When I get the prompt about oops etc about not knowing what to do either go back to the site that gave me the problems or start over. I start over, then connect the internet.
    I and others should not need to go though this with ransomeware such as the FBI attack that says it will unlock your system for $200. Or the numerous infomercials that also will no let me and many others go. This problem is also in Internet Explorer, and a few other browsers.
    What does it take to keep these scripts from allowing people to leave a page or close the browser? Me and many more want to know, and because the problem exists I have OPERA as a backup browser as it does not get hijacked, but it does not have the ability to have the features and add ons that are available for FireFox.

  • An alert mesage e.g(Are you sure you want to delete)

    Hi all,
    How can I come up with the alert message within the jsp pages?
    Is my first time to do that? Actually I want to delete the records. But before
    I delete I want to get an alert message e.g. are you sure you want to delete?
    If you press OK button then it proceed to delete. And if you press CANCEL
    Than it will go back to that same page.
    Please help.

    Such an alert must be programmed as client side, not server side code. It's not java but javascript and it runs on the client's browser, not on your server.
    You include an element like:
    <SCRIPT LANGUAGE="Javascript1.2">
    function askDelete() {
      return confirm("Do you really want to delete this?");
    </SCRIPT>
      <INPUT TYPE="submit" name="delete" value="Delete"
         onClick="return askDelete();">An onClick handler on a submit or image input field that returns a value blocks the action if the return is false.

  • "Are you sure you want to leave this page?" on saving Publishing Page

    Hi all,
    we're getting some ... interesting ... behavior in IE.
    Setup:
    We have a page layout based on some content type. Both contain (besides other fields) a DateTimeField which is shown in edit mode.
    When a user clicks "Save" after editing the page, he is presented a modal dialog saying "Are you sure you want to leave this page?" with the options to "stay" or "leave".
    When a user clicks "leave" the following behaviour is as expected (changes are saved, page is working). When a user clicks "stay" he sometimes gets prompted for conflicts.
    As soon as the DateTimeField is removed from the page layout (but is kept in the content type) there are no more such pop-up dialogues.
    This happens only in IE 9/10/11. FF and Chrome work fine.
    Do you have any suggestions, on how to fix this? Not the conflicts part, but the fact that this dialogue box is shown at all.
    - Ben
    Code
    Field Definition
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Field
    ID="{401b4dad-f4db-45a8-a111-42ed278a3298}"
    Name="FI_Erstellungsdatum"
    DisplayName="MyDate"
    Type="DateTime"
    Required="TRUE"
    Group="MyGroup"
    Format="DateOnly">
    <Default>[Today]</Default>
    </Field>
    </Elements>
    Reference in Content Type
    <FieldRef ID="{401b4dad-f4db-45a8-a111-42ed278a3298}" DisplayName="MyDate" Required="TRUE" Name="FI_MyDate" Format="DateOnly" />
    Reference in Page Layout
    <SharePoint:DateTimeField FieldName="401b4dad-f4db-45a8-a111-42ed278a3298" runat="server"></SharePoint:DateTimeField>
    Internet Explorer
    I already tried seeting IE (Security) Settings back to deafault and disabling add-ons. It did not help.
    The site is accessed via https and is in the Trusted Sites list in IE.

    Hi SomeTallGuy,
    According to your description, my understanding is that the model dialog appears after you click Save.
    My suggestion as below:
    1. Set the Internet Explorer Security Setting to low.
    2. If you have add your site to trusted sites, try to delete all the browser data, such as cookie, temporary files to test whether it works.
    Best regards,
    Zhengyu Guo
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • How to add for wikipages the popup " are you sure you want to leave this page" on edit

    Our users complain about hitting the backspace button in a wiki page, sometimes the I.E. goes back and loose their changes. I could get a jquery popup but I don't know how to know that the wiki page is in edit mode and not in view mode.Do you know how/what 
    to check with javascript in order to know the mode of the page?
    Thank you
    Christos

    Jquery has a specific function that allows you to add this sort of thing to general SharePoint pages.  I've not tried it in my own environment but some good useful starter information can be seen on a similar thread at Stack exchange.
    See if this is of any use for you
    http://stackoverflow.com/questions/1119289/how-to-show-the-are-you-sure-you-want-to-navigate-away-from-this-page-when-ch?rq=1
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

Maybe you are looking for