It lets you easily set complexity requirements on a field.  It will
dynamically generate the error message by default based on the
requirements you set.  The signature is:
IS_COMPLEX(self, min=8, max=20, upper=1, lower=1, number=1,
                 special=1, specials=r'~...@#$%^&*()_+-=?<>,.:;{}[]|',
                 invalid=' "', error_message=None)


On Jun 17, 4:26 pm, JorgeR <jorgeh...@gmail.com> wrote:
> what is IS_COMPLEX used for?
>
> On Jun 17, 4:08 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > web2py 1.54.2 is OUT
>
> > New IS_COMPLEX validator, thanks Mr. Freeze
> > Informix support, thanks Christopher and Carsten
> > Autologin on registration, thanks Fran
> > Some small fixes.
>
> > Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to