Changes between Version 6 and Version 7 of IS_ONE_OF
- Timestamp:
- 02/03/10 18:03:06 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IS_ONE_OF
v6 v7 1 1 = IS_ONE_OF Validator = 2 3 (For large lookup tables use [wiki:IS_ONE_OF_EMPTY IS_ONE_OF_EMPTY]) 2 4 3 5 The '''IS_ONE_OF()''' validator is a custom version of web2py's IS_IN_DB() for foreign key lookups in a key table. In forms, the respective field will be rendered as a drop-down field.