On Mar 1, 2011, at 7:04 AM, DenesL wrote: > > just remove the > > else: > response.flash='Fill in form' > > parts from your code. > > Since you are not redirecting after an accepts it just comes back to > the same controller, creating new forms and resetting the > response.flash messages.
This 'else' case isn't very useful anyway; I think of it as a placeholder. If you really *do* want a flash message for this case, just set it directly as the default response.flash before the first call to accepts.