J***@js3d.Co.Uk
2009-02-04 22:13:04 UTC
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
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