To represent referenced records in select/option drop-downs the web2py book gives two options:
db.define_table('person', Field('name'), format='%(name)s')
db.define_table('person', Field('name'), format='%(name)s %(id)s')
In an application I need a drop down that inserts a name as a value
and I need a drop down that inserts an id as a value. Do I use the
first option for the former and the second option for the latter?
Kind regards,
Annet.

