Hi, 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? Thanks, Andreas. -- In a world without fences, who needs gates?
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.. Thanks -----Original Message----- From: andreas@qbcon.com [mailto:andreas@qbcon.com]On Behalf Of Andreas Pauley Sent: Wednesday, September 06, 2000 1:25 AM To: Zope Subject: [Zope] Form Validation Hi, 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? Thanks, Andreas. -- In a world without fences, who needs gates? _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andreas Pauley -
Stuart Foster