# Example 1 |
Displays an error message.
requires = [ ... error_message='Some message')]
Empty option
db.table_name.field_name.requires = IS_EMPTY_OR(IS_IN_SET(['en', 'es','eu'], zero=T('None')))
" Web2py Book"