[Zope] form confirmation

Stephan Goeldi Stephan Goeldi" <goeldi@goeldi.com
Tue, 30 Jul 2002 11:16:20 +0200


>e.g. <FORM ACTION="doStuff" METHOD="POST" onSubmit="confirm('Do you 
>*really* want to do that?')">
>If the user hits "OK", the form will be submitted. If they hit "Cancel", 
>the browser will not submit the form.

Hmmm. This is fine. But the document gets deleted anyway.
It happens in DocumentLibrary's document_edit method.

Anyway, thank you very much for this simple solution.