List of all errors encountered in a form
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
Hi, Is there an easy way to access any errors which may have been flagged in a schema in a final chained validator? I want to insert a generic message at the top of the page letting the user know that the form has errors. I was approaching this through a custom chained_validator but I'm unsure of what value to test against to see if any errors have allready occoured, error_dict dosen't seem to exist. This is in pylons using @validate decorator. An alternative [hacky ]fix to my problem and also something I'm having no luck with would be to be able to anchor to the top of the form when the page is reloaded, but I've no idea how to achieve it. Any help much appreciated. Jules -------------------------------------------------------------------- mail2web.com What can On Demand Business Solutions do for you? http://link.mail2web.com/Business/SharePoint ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com