durusmail: quixote-users: bug in Form.form_submitted(...)?
bug in Form.form_submitted(...)?
2003-08-01
2003-08-01
2003-08-02
bug in Form.form_submitted(...)?
Neil Schemenauer
2003-08-01
On Fri, Aug 01, 2003 at 12:53:19AM -0700, Alex Li wrote:
> The Form.form_submitted() in Quixote 0.6 is like this:
>
>     def form_submitted (self, request):
>         return len(request.form) > 0
>
> Should it also test if the submit button is included
> (pressed) in the request or not?

Look at what get_submit_button() does.  Submit buttons are in
request.form too.

  Neil

reply