[Zope] Form Validation

Stuart Foster stuartafoster@home.com
Wed, 6 Sep 2000 08:23:57 -0700

I can't answer your question but have been looking for similar information.
Where can I find out more about ":string" and so forth. I haven't been able
to locate any information on validation..


-----Original Message-----
From: andreas@qbcon.com [mailto:andreas@qbcon.com]On Behalf Of Andreas
Sent: Wednesday, September 06, 2000 1:25 AM
To: Zope
Subject: [Zope] Form Validation

I see you can let Zope do basic form validation for you by appending
":string" or ":int" to your form name.
The error messages that are displayed are not that clear, however.

How can I get more control over what happens when an error occurs?
(e.g. I'd like to be able to get back a list/ditionary of errors instead
of handling them one by one)

Where can I get documentation on all the built-in form validation
options at my disposal?
(e.g. a field may not be required, but if it is filled in it has to be
an integer)
Is Zope's built-in form validation sufficient for a complex system?
Are there better ways to do form validation?

I saw a php program on freshmeat.net the other day that supposedly
generates forms complete with client and server-side validation.
Do we have a similar product in Zope?

In a world without fences, who needs gates?

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-dev )