[ZPT] Formulator woes...

Evan Simpson evan@zope.com
Thu, 20 Dec 2001 10:14:40 -0500


jules wrote:

> This is driving me nuts! I've had to abandon a couple of ZPT forms and
> go back to DMTL to get a project finished.
> 
> I tried Evan's suggestion of a script to validate the form
> (http://groups.yahoo.com/group/zpt/message/103) but it blows up on the
> except line and is unable to find that object. It's just a script,
> right? Not an external method?

You need to be able to get at the FormValidationError object, and 
unfortunately Formulator doesn't provide the necessary declarations. 
The recipe at:

http://www.zopelabs.com/cookbook/1007769500

...should get you around that problem.

Cheers,

Evan @ Zope