1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Are you sure?

Discussion in 'Web Design & Development' started by jlee, Sep 14, 2004.

Thread Status:
Not open for further replies.
  1. jlee

    jlee Thread Starter

    Joined:
    Jul 20, 2004
    Messages:
    14
    Hi guys

    Just a simple one I think:

    I have a simple form that the user enters an id number in and clicks a submit button to delete the entry from a database.

    I need some form of check that asks the user "are you sure you want to delete this entry" with a yes and no option. If the no option is selected then it needs to not delete it obviously and return to where teh user was, but if they click yes then it needs to continue. Any help would be appreciated - thanks
     
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    You need some form of JS form validation. you can also set up a pop up window or message dialog based on the onClick even for your form button.
     
  3. Sequal7

    Sequal7

    Joined:
    Apr 14, 2001
    Messages:
    2,382
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/273780

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice