Are you sure?

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

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
 
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.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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 807,865 other people just like you!

Latest posts

Members online

Top