[Zope] redirection from within forms with submit button

Dieter Maurer dieter@handshake.de
Fri, 5 Apr 2002 23:31:54 +0200


dvl writes:
 > ...
 > 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>


Dieter