Changes between Version 5 and Version 6 of IS_ONE_OF


Ignore:
Timestamp:
08/23/09 13:15:42 (15 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IS_ONE_OF

    v5 v6  
    33The '''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.
    44
    5 Other than IS_IN_DB, the IS_ONE_OF validator is deletion status sensitive, i.e. records in the key table that are flagged as 'deleted' will be ignored.
     5Unlike IS_IN_DB, the '''IS_ONE_OF''' validator is deletion status sensitive, i.e. records in the key table that are flagged as 'deleted' will be ignored.
    66
    77Furthermore, it is possible to filter the key records by a type field (which should be int) for certain options.