How to enhance verbosity of answers of incorrectly filled forms
Hi, 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 Well I know I could change the layout a little bit by changing the default error method but I would like to give the user a hint *which* field(s) has to be filled. I could do this with a Python script but I'm currently trying to test the power of PageTemplates and ZSQL methods instead of my former way to use Zope with more or less sticking to Python Scripts exclusively. Kind regards Andreas.
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
participants (2)
-
Andreas Tille -
Dieter Maurer