Your thoughts?
Kiran
________________________________________ Kiran Subbaraman http://subbaraman.wordpress.com/about/
> Should the validators change the `value` being validated? For example, the IS_NOT_EMPTY()(u' ') returns a ('', None). Basically it modifies the value. I understand it has utility, but was a little confused with the do's/don'ts of validators.
Yes, sometimes they should. The reason for this is that the only thing the user inputs is text, I think it would be rare to have an instance where you want a value validated and you don't want it converted into the correct type, so it's just pratical.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.