[Zope-CMF] Re: Validation during object creation

Chris Withers chrisw@nipltd.com
Tue, 09 Jul 2002 11:45:22 +0100


Geoff Davis wrote:
> 
> * I want to ensure that the user specifies certain attribute properties
> before I create an object.  I want to require more than an ID and a Title.
> I don't want partially-populated objects lying around that I will have to
> clean up later.

Can they be pre-populated with sensible defaults to avoid this?

> * When a user does not fill out a form correctly, I want to display both
> error messages and the user's original entries on the same form.  *** I
> don't want the user to get kicked to a different page with error messages
> and then have to hit the back button to make corrections. ***

Why not? <0.6 wink>

cheers,

Chris