Specify the field that you wish to appear in the dropdown box Try what the book says, 'name' is simply the name of the field you wish to appear:
db.dog.owner.requires = IS_IN_DB(db, 'person.id', '%(name)s', zero=T('choose one')) --
Specify the field that you wish to appear in the dropdown box Try what the book says, 'name' is simply the name of the field you wish to appear:
db.dog.owner.requires = IS_IN_DB(db, 'person.id', '%(name)s', zero=T('choose one')) --