[Zope] Validating data entry (dates)
Jens Vagelpohl
tommymi@concentric.net
Wed, 8 Dec 1999 19:34:32 -0500
hi henny,
my suggestion for data validation *before* submitting the form would be
javascript. (is that blasphemy??? ;)
DTML is interpreted on the server, so you would not be able to validate
using DTML without sending the data back to the server...
jens
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Henny
> van der Linde
> Sent: Wednesday, December 08, 1999 18:14
> To: Zope mailing list
> Subject: [Zope] Validating data entry (dates)
>
>
> Hi,
>
> Is there an elegant way to validate fields in a form before submitting.
>
> For example:
>
> I have a date field. I want to check, before submitting the form, if the
> date entered is valid.
> Is there someting like a function as: Date.IsValid (I haven a Delphi
> background). What I don't want is a Zope generated standard error
> screen. I
> want a custom designed error message/page.
>
> thanks,
>
> Henny van der Linde
>