[Zope] Re: Associated Values from HTML forms

Dieter Maurer dieter@handshake.de
Fri, 13 Jun 2003 22:51:58 +0200


enrica dente wrote at 2003-6-12 17:52 +0000:
 > How do I get checkbox and associated data from a selection box located next 
 > to the checkbox?

What?

  Zope does not (easily) know the layout of your form.
  Therefore, it does not have the notion of "next to a checkbox".

  Instead, each form control has a name and Zope can access
  the value of most form controls via its name (there
  are exceptions: unchecked checkboxes (e.g.) are not included
  in the submitted form data and Zope is unable to determine
  whether the checkbox was not there at all or wether it was
  not checked).

You find more details (and some tips how to handle the exceptional
cases) in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>



Dieter