Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Pixel Pusher #1
Confirm before delete
I have a delete function that is accessed through the <%MM_editAction %>.
Trying to warn them before they delete and used a dialog box so they can
cancel out like this:
<FORM NAME="demo2">
<INPUT TYPE="button" NAME="confirmDemo"
VALUE="Demo of confirm dialog box"
onClick='confirm("Can you think of a use for this?")'>
</FORM>
The problem is that if I push cancel it still deletes the files.
Any help?
Pixel Pusher Guest
-
Confirm Delete in DataGrid
Hi Refering to the following thread, How can we check what the user has chosen? and where should we do this checking, please?! TIA "Amelyan"... -
flash form and confirm delete
I know alert() function is available to cfforms. I also understand confirm() did not ship in this release. I have a delete button on a form and I... -
Add Confirm to Delete button in repeater
I have a repeater which shows Group names. (Skip this part if you want rather irrelevant) The groups are ordered and formatted: Parent ---Child... -
confirm before delete ?
how would i add a yes/no box for a delete button ? e.g. this is my code - If e.CommandSource.commandname = "Delete" Then mainid =... -
confirm delete prompt
where is the option to disable the prompt which occurs to confirm that you want to delete a file? I know its possible but i forget how i did it... -
Nancy Gill #2
Re: Confirm before delete
You have to make the button on page 1 a button that goes to the second page
with an "are you sure" .. if they are sure, they would press the button, and
that takes them to the next page with the delete record behavior on that
page.
--
Nancy Gill
Team Macromedia Member: Dreamweaver MX/UltraDev
[url]http://www.macromedia.com/go/team/[/url]
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
"Pixel Pusher" <webforumsuser@macromedia.com> wrote in message
news:dkqj05$jei$1@forums.macromedia.com...> I have a delete function that is accessed through the <%MM_editAction %>.
>
> Trying to warn them before they delete and used a dialog box so they can
> cancel out like this:
>
> <FORM NAME="demo2">
> <INPUT TYPE="button" NAME="confirmDemo"
> VALUE="Demo of confirm dialog box"
> onClick='confirm("Can you think of a use for this?")'>
> </FORM>
>
>
> The problem is that if I push cancel it still deletes the files.
>
> Any help?
>
Nancy Gill Guest



Reply With Quote

