Thanks for clearing up. It is not in my priority list now so I will override that method later. However, even a "get" form, when submitted, would have the submit button's name and value in the querystring ( becomes ?run=go) ... without that, the form isn't really submitted... Also just to point out that in the "comment on this page" link on mems-exchange site, if you put in a "=" sign in the querystring, the subject line will become empty. However, a %3D would be ok, and it would turn out to be a "=" sign in the subject field.... And since you (the programmer) can often control what is in the querystring, this should be ok. So the moral of the story is always use url_quote on links... Just want to point this out because this "=" sign thing has me stuck for a while... Alex > On Wed, May 07, 2003 at 11:57:47AM -0700, Alex Li wrote: > >I mean once you have an "=" in your url (ex: part of your querystring), any > >preset values (ie, Form.add_widget(value=...)) for any widgets won't > appear, > >even the querystring parameters has nothing to do with those widgets with > >preset values. > > This is because the framework thinks the form has been submitted. > >From the Form class: > > def form_submitted (self, request): > """form_submitted(request : HTTPRequest) -> boolean > > Return true if a form was submitted in the current request. > """ > return len(request.form) > 0 > > So, because it thinks the form has been submitted, all the widgets > take their value from the form contents, which are almost certainly > empty. > > If this really bothers you, you could override the form_submitted() > method with a fancier implementation that only checks if the HTTP > method was a POST, and always returns false if it isn't. > > --amk (www.amk.ca) __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com