Oops! The last email has the wrong subject, sorry > > > > Look at what get_submit_button() does. Submit buttons are in > > request.form too. > > > I know, but it is just checking if the length of request.form bigger > than zero, not neccessary if a submit is in the request. > > For my case, I have a form, with a prefilled input, and a single select > input which I overrided to allow empty list. In the form.__init__ method > where I construct the single select input, I check if the list is empty, > then just show a message saying action cannot be perform and don't > show the submit button. So it is a form without a submit button, and > because one input is filled, the original form_submitted() will think > the form is submitted... > > I know a form without a submit button is weird, but I do this to try to > make the form 'self-sufficient'... How are other people doing this? > Any advise is appreciated. > > Alex > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com