• 2230 views
  • 0 comments
  • loading...

Checks whether the validated value is equal to a given value (which can be a variable),


requires = IS_EQUAL_TO(request.vars.password,

error_message='passwords do not match')

Attributes / Arguments

Displays an error message

requires = IS_EQUAL_TO(request.vars.password,
                       error_message='passwords do not match')


loading...

Sources / Reference

" Web2py Book"


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)