[Zope3-dev] field validation in edit form

Richard Jones richard@commonground.com.au
Sun, 13 Jul 2003 10:17:53 +1000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday, July 13, 2003, at 10:18  AM, Garrett Smith wrote:
> Strings present a problem in HTML forms, since there's no way of making
> them None. But I'm talking about Ints  -- the IntWidget is setup to
> return None when an int isn't specified in the text field. Currently,
> such fields can be omitted even when they're required.
>
> Setting strict to True would fix this.

Ah, I see your point now. Yes, it seems reasonable that strict be True 
when called from EditView. I'll make the change in the new EditView 
code.


     Richard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE/EKUyrGisBEHG6TARAmpzAKCAr9c46QaV40WBpqzcsgJ3SNX48gCeMo5R
fwg7lBdmI3a2cso1uA/3SHg=
=1NDb
-----END PGP SIGNATURE-----