[Zope] redirection from within forms with submit button

dvl dvl <dvl@wanadoo.nl>
Sun, 7 Apr 2002 18:00:25 +0200


Hello Dieter,

>  > What i want to do is the button equivalent of the link
>  > <a href="<dtml-var "'toondecr?datum=%s&teller=%s' % (datum)">">Next</a>
>  > (which works, in the method 'toondecr')


> The button equivalent to this link is
>     <form action="toondecr">
>       <input type="hidden" name="datum" value="&dtml-datum;">
>       <input type="hidden" name="teller" value="&dtml-teller;">
>       <input type="submit" value="your button">
>     </form>

Great, thanks ever so much.

Cheers, Dirk