Thanks, David. On Dec 11, 2006, at 10:24 PM, David K. Hess wrote: > > Checkbox widgets seem to be always returning a value of True > regardless of the actual state on form submit. The following patch > appears to do the trick. > > --- fill/widget.qpy 2006-11-21 08:06:19.000000000 -0500 > +++ /usr/local/lib/python2.5/site-packages/qp/fill/widget.qpy > 2006-12-11 22:17:15.000000000 -0500 > @@ -269,7 +269,7 @@ > """ > def _parse(self, request): > - self.value = request.get_field(self.name) != None > + self.value = request.get_field(self.name) == "yes" > def render_content(self): > return htmltag("input", xml_end=True, > > Dave > > ------ > David K. Hess > Verscend Technologies, Inc. > dhess@verscend.com > 214-684-5448 > > > > _______________________________________________ > QP mailing list > QP@mems-exchange.org > http://mail.mems-exchange.org/mailman/listinfo/qp