This field will not fail validation when submitted empty. Web2py 2.8.2 with lazy tables and archiving.
REQUIRE_MSG = SPAN('Required', _style="color:orange;") Field( 'problem_title', length=512, required=True, comment=REQUIRE_MSG, ) Written this way, it works. Field( 'problem_title', length=512, required=True, comment=REQUIRE_MSG, requires=IS_LENGTH( minsize=1, maxsize=512, error_message='Problem title cannot be empty. Max 512 characters.' ) ) I didn't expect this ... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.