[Zope] Form validation
Lee Marzke
lmarzke@comcast.net
Fri, 15 Mar 2002 16:59:15 -0500
Hi,
I've managed to get Formulator to work with ZSQL (postgresql) methods
for Add and listing contents as documented in the HOWTO.
Are their any examples for using Formulator to update database
records ? You nee to populate the form with the current values
first, then post the results back normally.
I've found one work around that seems to do this with a separate
for forms for adding and updating, but I was hoping for some
solution that does both with one form.
Has anyone done this, or can you point me to a page that
might have more information.
Thanks much,
Lee Marzke <lmarzke@comcast.net>
At 09:10 AM 3/14/02 -0500, you wrote:
>On Thu, 14 Mar 2002, Wayne Pascoe wrote:
>
> > Hi all,
> >
> > Quick question ...
> >
> > I want to do something that I can in Perl using Template toolkit and I was
> > hoping that someone could point me at some code showing how to achieve
> this.
> >
> > When a user fills out a form and hits submit, I want the action page /
> > method to check that all required fields are filled out and all filled out
> > values are valid for the field.
> >
> > If there are any values that are not correct, I want to display the
> original
> > form, with all fields that did have values prefilled and something like
> > * Invalid date format
> > Or
> > * Required field
> > In red under the field that is wrong or not filled out.
>
>Get the product Formulator from zope.org and look at the examples.
>
>--
>
>Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton
>Independent Knowledge Management Consultant
>
>
>_______________________________________________
>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 )
--
=========================================================
Lee Marzke, <lee@n99.com>
North Wales, PA
N84176 (PA-28) at Brandywine, N99
=========================================================