[Zope] Validate fields?

Evan Simpson evan@tokenexchange.com
Thu, 26 Aug 1999 10:24:38 -0500


From time to time I've thought about building an HtmlFormManager Product.
Instances would allow you to specify the fields in your form, including type
information, default presentation (input type, CSS class, etc.), validation,
error handling, etc.

It could have methods to auto-generate form input tags, a JScript
client-side validation function, etc.  Adding DTML Methods to it to define
alternate forms would be easy.

This is in the middle of my Ample Free Time to-do stack.

----- Original Message -----
From: Juergen Specht <specht@speed-link.de>
> Input <-------------------
>   |                       |
>   |                       |
>   V                       |
> Validation not ok --> Error Message
>  ok
>   |
>   |
>   V
> Work with input.
>
> Feature Request: Maybe a good idea to have some configurable
> Functions inside Zope, like:
> CheckForValidEmailSyntax
> CheckForNumbersOnly
> CheckForCharsOnly
> CheckForCharsandNumbersOnly