[Zope] Simple form Problem
Ken Kinder
kkinder@messagemedia.com
Mon, 03 Apr 2000 16:38:28 -0600
You mean you don't know which submit button is pressed? If you, for
examples have this form:
<form>
..
<input type=submit name=submit value=foo>
<input type=submit name=submit value=bar>
</form>
You would use:
<dtml-if "submit=='foo'">
..
<dtml-else "submit=='bar'">
..
</dtml-if>
"Baker, Dennis (sjmr)" wrote:
>
> I am trying to build a form which has a dropdown at the top, and a bunch of
> buttons below with different functions which to do with the list item. My
> problem is I can't figure out which button was pressed. I know you set a
> value for the button, but how do you interpret those values?
>
> Dennis Baker
> Information Systems Manager, St. Joseph's Medical Resources
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--
Ken Kinder
303.381.7631