Home | Trees | Indices | Help |
|
---|
|
object --+ | Validator --+ | IS_EQUAL_TO
INPUT(_type='text', _name='password') INPUT(_type='text', _name='password2', requires=IS_EQUAL_TO(request.vars.password))the argument of IS_EQUAL_TO is a string
>>> IS_EQUAL_TO('aaa')('aaa') ('aaa', None)
>>> IS_EQUAL_TO('aaa')('aab') ('aab', 'no match')
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sun Mar 4 22:11:59 2012 | http://epydoc.sourceforge.net |