durusmail: qp: 1.9.x and form.is_submitted
1.9.x and form.is_submitted
2006-11-24
2006-11-24
Re: 1.9.x and form.is_submitted
2006-11-24
1.9.x and form.is_submitted
David K. Hess
2006-11-24
Regarding this change:

> Change semantics of form.is_submitted to be true if any widget
> name appears in the fields of the request.  If the form has
> been submitted, form.is_submitted *modifies* the request fields
> as necessary to make sure that every widget of the form has a
> key in the fields dictionary.

Doesn't that make it impossible to tell which SubmitWidget submitted
a form if it has more than one?

I'm having better luck if I filter the request fields with:

                     if widget.HTML_TYPE == 'submit':
                         continue

Dave

------
David K. Hess
Verscend Technologies, Inc.
dhess@verscend.com
214-684-5448



reply