[Zope] Simple form Problem

Baker, Dennis (sjmr) DBaker@CHW.edu
Mon, 3 Apr 2000 16:48:15 -0700


Seems to have done the trick.  Thanks.

> -----Original Message-----
> From: Daniel.Weber@SEMATECH.Org [mailto:Daniel.Weber@SEMATECH.Org]
> Sent: Monday, April 03, 2000 12:30 PM
> To: DBaker@CHW.edu
> Subject: RE: [Zope] Simple form Problem
> 
> 
> Just check to see if the name is defined, if they are submit 
> buttons.  So if you
> have 5 buttons named button_1, button_2, etc. you can check 
> in your code to see
> which was pressed...
> 
> <dtml-if button_1>
>   action 1
> <dtml-elif button_2>
>   action 2
> <.....>
> 
> > -----Original Message-----
> > From: Baker, Dennis (sjmr) [mailto:DBaker@CHW.edu]
> > Sent: Monday, April 03, 2000 2:19 PM
> > To: 'zope@zope.org'
> > Subject: [Zope] Simple form Problem
> > 
> > 
> > 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 )
> > 
>