Just taking the example from web2py manual as below, how can I force web2py
to show dropdown for father_id and mother_id fields with existing person
items/values? For self-reference definition I cannot use IS_IN_DB validator,
so there are no widgets displayed.
db.define_table('person',
Field <http://www.web2py.com/book/default/docstring/Field>('name'),
Field <http://www.web2py.com/book/default/docstring/Field>('father_id',
'reference
person'),
Field <http://www.web2py.com/book/default/docstring/Field>('mother_id',
'reference
person'))