• 2350 views
  • 0 comments
  • loading...

Checks that a field value contains a valid time in the specified format.

This validator checks that a field value contains a valid time in the specified format.

requires = IS_TIME(error_message='must be HH:MM:SS!')

Attributes / Arguments

Displays an error message

requires = IS_TIME(error_message='must be HH:MM:SS!')


loading...

Sources / Reference

" Web2py Book"


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)