[Zope] How to enhance verbosity of answers of incorrectly filled forms

Dieter Maurer dieter at handshake.de
Thu Aug 14 21:23:38 EDT 2003


Andreas Tille wrote at 2003-8-14 17:33 +0200:
 > is there any clever way to give the user a more verbose answer - preferably in
 > an apropriate layout if I use
 > 
 >    <form action="report.html" method="get">
 >      <input name="Id:int:required">
 >      <input name="Text:string:required">
 >    </form>
 > 
 > instead just
 > 
 >     Empty entry when integer expected

No, unless you change the "ZPublisher.BaseRequest.BaseRequest" code.

Alternatively, you may have a look at the product "Formulator".
It helps with validation.


Dieter



More information about the Zope mailing list