Re: form:ifanyerror
Ian Bicking <[email protected]>
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
Mike Orr wrote: > Is there a way to have a general error message at the top of the form > if there are any errors below? I was thinking of > "<form:ifanyerror>...</form>" and its complement > "<form:ifnoerror>...</form>". You can use <form:iferror name="something"> and <form:iferror name="not something">. Maybe a special case of name="*" should be allowed for this. I'm still sorting out getting a new computer setup when my old one broke, and I don't have my editing environment really setup, but a patch would be accepted (some change to the handle_iferror method). Ian ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/