[Zope] two submit buttons/ one method
Harry Wilkinson
harryw@nipltd.com
Thu, 9 May 2002 11:31:41 +0100
On Thursday 09 May 2002 11:27 am, Geir Bækholt wrote:
>
> the submit buttons count as form-fields as well , so you don't need
> the hidden form-fields at all :
> <form action="some_func" method="post">
>
> <input type="submit" name="somevar" value="someval" />
> <input type="submit" name="somevar" value="someotherval" />
> </form>
Ah, good point :) I am just using the hidden form fields because I have my
buttons in a different frame (and thus in a different form). Looks like
John's problem is easier to solve than I though :)
Harry