NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
How to cancel a delete
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to cancel a delete (Read 2657 times)
John Fligg
Sr. Member
Posts: 361
How to cancel a delete
«
on:
March 18, 2012, 12:07:10 PM »
I am sure the answer is here but cannot find it using search.
I need to add my own delete confirmation/add some code before the delete confirm message. Alternatively I can add my own delete button on a browse.
But how do you actually cancel the delete action? I am sure you have to set "ans" or something.
Thanks
John
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: How to cancel a delete
«
Reply #1 on:
March 18, 2012, 10:11:32 PM »
you can't add code before the popup message, because the popup message is JavaScript attached to the button when the form generates.
You can add code to the PreDelete routine - yes setting ans to 0 cancels the action.
cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
How to cancel a delete