[Zope] Clearing forms with session vars set
Dieter Maurer
dieter@handshake.de
Fri, 6 Sep 2002 20:11:58 +0200
AM writes:
> ...
> I also have clear form buttons, which are the standard <input
> type='reset'....> kind. Now I know that because the form fields are
> populated from the session vars, the clear button will not work.
>
> ...
> Is there any way to call REQUEST.SESSION.clear() and then reload the
> page when the user clicks on the clear form button??
Someone else already told you about a Javascript solution.
Your proposal will work, too. Why did you not simply tried it before
you asked?
Dieter