Monica Leko wrote:

> Suppose you have some HTML forms which you would like to validate.
> Every field can have different errors.  For example, this are the
> forms:
>
> username
> password
> etc
>
> And you want to validate them with some class.  Is this good pattern:
[...]

You could have a look at how django [http://www.djangoproject.com] and
how they handle forms:

http://www.djangoproject.com/documentation/newforms/

In fact their newforms module should work fine as a standalone.
--
Arnaud
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to