[Zope] - Best way to input validation

Paulo Eduardo Neves neves@inf.puc-rio.br
Mon, 18 Jan 1999 21:55:28 -0300


Jim Fulton wrote:
> 
> Paulo Eduardo Neves wrote:
> 
> > Is there a best way to validate input form data?
> 
> What would you like to do if an input is not valid?
> 

Probably show the same form and the completed data with an error message
indicating why some fields were not valid. At least a message in
portuguese, since most of my readers won't understand the english error
message. 

I was thinking about coding a javascript library to validate the data in
the client, but I'm convinced now that it isn't the way to go. If I use
the "automatic" error handling feature I *can't* properly (from a
usability view) handle it. 

Thanks for your answer Jim. 
-- 
Paulo Eduardo Neves
PUC-Rio de Janeiro 
Pager: Central: 292-4499 cod. 213 99 64
ou use a URL:  http://www.learn.fplf.org.br/neves/mensagempager.html