[Zope] two submit buttons/ one method

Chris Withers chrisw@nipltd.com
Thu, 09 May 2002 14:16:44 +0100


John Hunter wrote:
> 
> >>>>> "Geir" == Geir Bækholt <geirh@funcom.com> writes:
> 
>     Geir> <input type="submit" name="somevar" value="someval" />
>     Geir> <input type="submit" name="somevar" value="someotherval" />
>     Geir> </form>

Could this be used instead?

  <input name="yourEditMethod:method" type="submit" value="Update Form" />
  <input name="yourAddMethod:method" type="submit" value="Add Event" />

cheers,

Chris