[Zope-CMF] Re: Validation during object creation

David (Hamish) Harvey david.harvey@bristol.ac.uk
Tue, 09 Jul 2002 11:41:46 +0100


--On Tuesday, July 09, 2002 11:45:22 +0100 Chris Withers 
<chrisw@nipltd.com> wrote:

> Geoff Davis wrote:

>> * 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>

Plone does this, it might be worth a look at the code - it brings the form 
back up with the "bad" fields enclosed in a coloured box with the error 
message in it.

Cheers,
Hamish


--
Hamish Harvey (aka David)
Network Coordinator, FloodRiskNet
Research Assistant, Water and Environmental Management Research Centre
University of Bristol, Lunsford House, Cantock's Close, Bristol BS8 1UP
Tel: +44 (117) 9289768 Fax: +44 (117) 9289770
Email: david.harvey@bristol.ac.uk/hamish@floodrisknet.org.uk
PGP Key Fingerprint: 6F15 A1C7 342F 2F87 E2CC  176D 1072 8A5B 20E8 E497
WWW: http://www.cen.bris.ac.uk/civil/pgra/dph/dph.htm