NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ozejohn on November 21, 2008, 09:58:25 PM

Title: Delete record with no are you sure message when you click the delete button.
Post by: ozejohn on November 21, 2008, 09:58:25 PM
Hi,

On some forms and EIP browse windows I would like to delete the record as soon as the user clicks on the delete button. I do not want a message to popup asking if they are sure.

For Clarion forms you have a option to disable the message on delete and just delete the record. Is there such an option for Nettalk Web Forms? If not is there a way to get around the message anyway?

Title: Re: Delete record with no are you sure message when you click the delete button.
Post by: Bruce on November 24, 2008, 05:27:16 AM
Hi John,

The message happens in JavaScript, so the only way to turn it off at the moment is to edit all.js and netweb.js, and remove all.js.gz & netweb.js.gz in your scripts folder.

Cheers
Bruce
Title: Re: Delete record with no are you sure message when you click the delete button.
Post by: ozejohn on November 24, 2008, 09:53:27 PM
Bruce,

Thanks for then help.
Title: Re: Delete record with no are you sure message when you click the delete button.
Post by: Bruce on November 25, 2008, 07:15:42 AM
I've tweaked it for the next build (PR20) so you can turn the confirmation on and off at the template level,and also customise the popup message as well...

Cheers
Bruce